@atproto/bsky 0.0.155 → 0.0.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/api/app/bsky/unspecced/{getPostThreadHiddenV2.d.ts → getPostThreadOtherV2.d.ts} +1 -1
- package/dist/api/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -0
- package/dist/api/app/bsky/unspecced/{getPostThreadHiddenV2.js → getPostThreadOtherV2.js} +5 -5
- package/dist/api/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -0
- package/dist/api/app/bsky/unspecced/getPostThreadV2.js +2 -2
- package/dist/api/app/bsky/unspecced/getPostThreadV2.js.map +1 -1
- package/dist/api/index.js +2 -2
- package/dist/api/index.js.map +1 -1
- package/dist/lexicon/index.d.ts +4 -4
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +6 -6
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +100 -100
- package/dist/lexicon/lexicons.js +52 -52
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/{getPostThreadHiddenV2.d.ts → getPostThreadOtherV2.d.ts} +7 -7
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.js +16 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts.map +1 -1
- package/dist/views/index.d.ts +8 -8
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +32 -32
- package/dist/views/index.js.map +1 -1
- package/dist/views/threads-v2.d.ts +11 -11
- package/dist/views/threads-v2.d.ts.map +1 -1
- package/dist/views/threads-v2.js.map +1 -1
- package/package.json +6 -6
- package/src/api/app/bsky/unspecced/{getPostThreadHiddenV2.ts → getPostThreadOtherV2.ts} +5 -5
- package/src/api/app/bsky/unspecced/getPostThreadV2.ts +2 -2
- package/src/api/index.ts +2 -2
- package/src/lexicon/index.ts +14 -14
- package/src/lexicon/lexicons.ts +54 -54
- package/src/lexicon/types/app/bsky/unspecced/{getPostThreadHiddenV2.ts → getPostThreadOtherV2.ts} +10 -10
- package/src/lexicon/types/app/bsky/unspecced/getPostThreadV2.ts +2 -2
- package/src/views/index.ts +46 -46
- package/src/views/threads-v2.ts +23 -23
- package/tests/views/__snapshots__/thread-v2.test.ts.snap +7 -7
- package/tests/views/thread-v2.test.ts +93 -93
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/api/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +0 -1
- package/dist/api/app/bsky/unspecced/getPostThreadHiddenV2.js.map +0 -1
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +0 -1
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js +0 -16
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js.map +0 -1
|
@@ -6650,6 +6650,47 @@ export declare const schemaDict: {
|
|
|
6650
6650
|
};
|
|
6651
6651
|
};
|
|
6652
6652
|
};
|
|
6653
|
+
readonly AppBskyFeedGetPosts: {
|
|
6654
|
+
readonly lexicon: 1;
|
|
6655
|
+
readonly id: "app.bsky.feed.getPosts";
|
|
6656
|
+
readonly defs: {
|
|
6657
|
+
readonly main: {
|
|
6658
|
+
readonly type: "query";
|
|
6659
|
+
readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
|
|
6660
|
+
readonly parameters: {
|
|
6661
|
+
readonly type: "params";
|
|
6662
|
+
readonly required: ["uris"];
|
|
6663
|
+
readonly properties: {
|
|
6664
|
+
readonly uris: {
|
|
6665
|
+
readonly type: "array";
|
|
6666
|
+
readonly description: "List of post AT-URIs to return hydrated views for.";
|
|
6667
|
+
readonly items: {
|
|
6668
|
+
readonly type: "string";
|
|
6669
|
+
readonly format: "at-uri";
|
|
6670
|
+
};
|
|
6671
|
+
readonly maxLength: 25;
|
|
6672
|
+
};
|
|
6673
|
+
};
|
|
6674
|
+
};
|
|
6675
|
+
readonly output: {
|
|
6676
|
+
readonly encoding: "application/json";
|
|
6677
|
+
readonly schema: {
|
|
6678
|
+
readonly type: "object";
|
|
6679
|
+
readonly required: ["posts"];
|
|
6680
|
+
readonly properties: {
|
|
6681
|
+
readonly posts: {
|
|
6682
|
+
readonly type: "array";
|
|
6683
|
+
readonly items: {
|
|
6684
|
+
readonly type: "ref";
|
|
6685
|
+
readonly ref: "lex:app.bsky.feed.defs#postView";
|
|
6686
|
+
};
|
|
6687
|
+
};
|
|
6688
|
+
};
|
|
6689
|
+
};
|
|
6690
|
+
};
|
|
6691
|
+
};
|
|
6692
|
+
};
|
|
6693
|
+
};
|
|
6653
6694
|
readonly AppBskyFeedGetPostThread: {
|
|
6654
6695
|
readonly lexicon: 1;
|
|
6655
6696
|
readonly id: "app.bsky.feed.getPostThread";
|
|
@@ -6705,47 +6746,6 @@ export declare const schemaDict: {
|
|
|
6705
6746
|
};
|
|
6706
6747
|
};
|
|
6707
6748
|
};
|
|
6708
|
-
readonly AppBskyFeedGetPosts: {
|
|
6709
|
-
readonly lexicon: 1;
|
|
6710
|
-
readonly id: "app.bsky.feed.getPosts";
|
|
6711
|
-
readonly defs: {
|
|
6712
|
-
readonly main: {
|
|
6713
|
-
readonly type: "query";
|
|
6714
|
-
readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
|
|
6715
|
-
readonly parameters: {
|
|
6716
|
-
readonly type: "params";
|
|
6717
|
-
readonly required: ["uris"];
|
|
6718
|
-
readonly properties: {
|
|
6719
|
-
readonly uris: {
|
|
6720
|
-
readonly type: "array";
|
|
6721
|
-
readonly description: "List of post AT-URIs to return hydrated views for.";
|
|
6722
|
-
readonly items: {
|
|
6723
|
-
readonly type: "string";
|
|
6724
|
-
readonly format: "at-uri";
|
|
6725
|
-
};
|
|
6726
|
-
readonly maxLength: 25;
|
|
6727
|
-
};
|
|
6728
|
-
};
|
|
6729
|
-
};
|
|
6730
|
-
readonly output: {
|
|
6731
|
-
readonly encoding: "application/json";
|
|
6732
|
-
readonly schema: {
|
|
6733
|
-
readonly type: "object";
|
|
6734
|
-
readonly required: ["posts"];
|
|
6735
|
-
readonly properties: {
|
|
6736
|
-
readonly posts: {
|
|
6737
|
-
readonly type: "array";
|
|
6738
|
-
readonly items: {
|
|
6739
|
-
readonly type: "ref";
|
|
6740
|
-
readonly ref: "lex:app.bsky.feed.defs#postView";
|
|
6741
|
-
};
|
|
6742
|
-
};
|
|
6743
|
-
};
|
|
6744
|
-
};
|
|
6745
|
-
};
|
|
6746
|
-
};
|
|
6747
|
-
};
|
|
6748
|
-
};
|
|
6749
6749
|
readonly AppBskyFeedGetQuotes: {
|
|
6750
6750
|
readonly lexicon: 1;
|
|
6751
6751
|
readonly id: "app.bsky.feed.getQuotes";
|
|
@@ -9593,13 +9593,13 @@ export declare const schemaDict: {
|
|
|
9593
9593
|
};
|
|
9594
9594
|
};
|
|
9595
9595
|
};
|
|
9596
|
-
readonly
|
|
9596
|
+
readonly AppBskyUnspeccedGetPostThreadOtherV2: {
|
|
9597
9597
|
readonly lexicon: 1;
|
|
9598
|
-
readonly id: "app.bsky.unspecced.
|
|
9598
|
+
readonly id: "app.bsky.unspecced.getPostThreadOtherV2";
|
|
9599
9599
|
readonly defs: {
|
|
9600
9600
|
readonly main: {
|
|
9601
9601
|
readonly type: "query";
|
|
9602
|
-
readonly description: "(NOTE: this endpoint is under development and WILL change without notice. Don't use it until it is moved out of `unspecced` or your application WILL break) Get
|
|
9602
|
+
readonly description: "(NOTE: this endpoint is under development and WILL change without notice. Don't use it until it is moved out of `unspecced` or your application WILL break) Get additional posts under a thread e.g. replies hidden by threadgate. Based on an anchor post at any depth of the tree, returns top-level replies below that anchor. It does not include ancestors nor the anchor itself. This should be called after exhausting `app.bsky.unspecced.getPostThreadV2`. Does not require auth, but additional metadata and filtering will be applied for authed requests.";
|
|
9603
9603
|
readonly parameters: {
|
|
9604
9604
|
readonly type: "params";
|
|
9605
9605
|
readonly required: ["anchor"];
|
|
@@ -9624,17 +9624,17 @@ export declare const schemaDict: {
|
|
|
9624
9624
|
readonly properties: {
|
|
9625
9625
|
readonly thread: {
|
|
9626
9626
|
readonly type: "array";
|
|
9627
|
-
readonly description: "A flat list of
|
|
9627
|
+
readonly description: "A flat list of other thread items. The depth of each item is indicated by the depth property inside the item.";
|
|
9628
9628
|
readonly items: {
|
|
9629
9629
|
readonly type: "ref";
|
|
9630
|
-
readonly ref: "lex:app.bsky.unspecced.
|
|
9630
|
+
readonly ref: "lex:app.bsky.unspecced.getPostThreadOtherV2#threadItem";
|
|
9631
9631
|
};
|
|
9632
9632
|
};
|
|
9633
9633
|
};
|
|
9634
9634
|
};
|
|
9635
9635
|
};
|
|
9636
9636
|
};
|
|
9637
|
-
readonly
|
|
9637
|
+
readonly threadItem: {
|
|
9638
9638
|
readonly type: "object";
|
|
9639
9639
|
readonly required: ["uri", "depth", "value"];
|
|
9640
9640
|
readonly properties: {
|
|
@@ -9706,7 +9706,7 @@ export declare const schemaDict: {
|
|
|
9706
9706
|
readonly encoding: "application/json";
|
|
9707
9707
|
readonly schema: {
|
|
9708
9708
|
readonly type: "object";
|
|
9709
|
-
readonly required: ["thread", "
|
|
9709
|
+
readonly required: ["thread", "hasOtherReplies"];
|
|
9710
9710
|
readonly properties: {
|
|
9711
9711
|
readonly thread: {
|
|
9712
9712
|
readonly type: "array";
|
|
@@ -9720,9 +9720,9 @@ export declare const schemaDict: {
|
|
|
9720
9720
|
readonly type: "ref";
|
|
9721
9721
|
readonly ref: "lex:app.bsky.feed.defs#threadgateView";
|
|
9722
9722
|
};
|
|
9723
|
-
readonly
|
|
9723
|
+
readonly hasOtherReplies: {
|
|
9724
9724
|
readonly type: "boolean";
|
|
9725
|
-
readonly description: "Whether this thread has
|
|
9725
|
+
readonly description: "Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them.";
|
|
9726
9726
|
};
|
|
9727
9727
|
};
|
|
9728
9728
|
};
|
|
@@ -18378,6 +18378,46 @@ export declare const schemas: ({
|
|
|
18378
18378
|
}];
|
|
18379
18379
|
};
|
|
18380
18380
|
};
|
|
18381
|
+
} | {
|
|
18382
|
+
readonly lexicon: 1;
|
|
18383
|
+
readonly id: "app.bsky.feed.getPosts";
|
|
18384
|
+
readonly defs: {
|
|
18385
|
+
readonly main: {
|
|
18386
|
+
readonly type: "query";
|
|
18387
|
+
readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
|
|
18388
|
+
readonly parameters: {
|
|
18389
|
+
readonly type: "params";
|
|
18390
|
+
readonly required: ["uris"];
|
|
18391
|
+
readonly properties: {
|
|
18392
|
+
readonly uris: {
|
|
18393
|
+
readonly type: "array";
|
|
18394
|
+
readonly description: "List of post AT-URIs to return hydrated views for.";
|
|
18395
|
+
readonly items: {
|
|
18396
|
+
readonly type: "string";
|
|
18397
|
+
readonly format: "at-uri";
|
|
18398
|
+
};
|
|
18399
|
+
readonly maxLength: 25;
|
|
18400
|
+
};
|
|
18401
|
+
};
|
|
18402
|
+
};
|
|
18403
|
+
readonly output: {
|
|
18404
|
+
readonly encoding: "application/json";
|
|
18405
|
+
readonly schema: {
|
|
18406
|
+
readonly type: "object";
|
|
18407
|
+
readonly required: ["posts"];
|
|
18408
|
+
readonly properties: {
|
|
18409
|
+
readonly posts: {
|
|
18410
|
+
readonly type: "array";
|
|
18411
|
+
readonly items: {
|
|
18412
|
+
readonly type: "ref";
|
|
18413
|
+
readonly ref: "lex:app.bsky.feed.defs#postView";
|
|
18414
|
+
};
|
|
18415
|
+
};
|
|
18416
|
+
};
|
|
18417
|
+
};
|
|
18418
|
+
};
|
|
18419
|
+
};
|
|
18420
|
+
};
|
|
18381
18421
|
} | {
|
|
18382
18422
|
readonly lexicon: 1;
|
|
18383
18423
|
readonly id: "app.bsky.feed.getPostThread";
|
|
@@ -18432,46 +18472,6 @@ export declare const schemas: ({
|
|
|
18432
18472
|
}];
|
|
18433
18473
|
};
|
|
18434
18474
|
};
|
|
18435
|
-
} | {
|
|
18436
|
-
readonly lexicon: 1;
|
|
18437
|
-
readonly id: "app.bsky.feed.getPosts";
|
|
18438
|
-
readonly defs: {
|
|
18439
|
-
readonly main: {
|
|
18440
|
-
readonly type: "query";
|
|
18441
|
-
readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
|
|
18442
|
-
readonly parameters: {
|
|
18443
|
-
readonly type: "params";
|
|
18444
|
-
readonly required: ["uris"];
|
|
18445
|
-
readonly properties: {
|
|
18446
|
-
readonly uris: {
|
|
18447
|
-
readonly type: "array";
|
|
18448
|
-
readonly description: "List of post AT-URIs to return hydrated views for.";
|
|
18449
|
-
readonly items: {
|
|
18450
|
-
readonly type: "string";
|
|
18451
|
-
readonly format: "at-uri";
|
|
18452
|
-
};
|
|
18453
|
-
readonly maxLength: 25;
|
|
18454
|
-
};
|
|
18455
|
-
};
|
|
18456
|
-
};
|
|
18457
|
-
readonly output: {
|
|
18458
|
-
readonly encoding: "application/json";
|
|
18459
|
-
readonly schema: {
|
|
18460
|
-
readonly type: "object";
|
|
18461
|
-
readonly required: ["posts"];
|
|
18462
|
-
readonly properties: {
|
|
18463
|
-
readonly posts: {
|
|
18464
|
-
readonly type: "array";
|
|
18465
|
-
readonly items: {
|
|
18466
|
-
readonly type: "ref";
|
|
18467
|
-
readonly ref: "lex:app.bsky.feed.defs#postView";
|
|
18468
|
-
};
|
|
18469
|
-
};
|
|
18470
|
-
};
|
|
18471
|
-
};
|
|
18472
|
-
};
|
|
18473
|
-
};
|
|
18474
|
-
};
|
|
18475
18475
|
} | {
|
|
18476
18476
|
readonly lexicon: 1;
|
|
18477
18477
|
readonly id: "app.bsky.feed.getQuotes";
|
|
@@ -21268,11 +21268,11 @@ export declare const schemas: ({
|
|
|
21268
21268
|
};
|
|
21269
21269
|
} | {
|
|
21270
21270
|
readonly lexicon: 1;
|
|
21271
|
-
readonly id: "app.bsky.unspecced.
|
|
21271
|
+
readonly id: "app.bsky.unspecced.getPostThreadOtherV2";
|
|
21272
21272
|
readonly defs: {
|
|
21273
21273
|
readonly main: {
|
|
21274
21274
|
readonly type: "query";
|
|
21275
|
-
readonly description: "(NOTE: this endpoint is under development and WILL change without notice. Don't use it until it is moved out of `unspecced` or your application WILL break) Get
|
|
21275
|
+
readonly description: "(NOTE: this endpoint is under development and WILL change without notice. Don't use it until it is moved out of `unspecced` or your application WILL break) Get additional posts under a thread e.g. replies hidden by threadgate. Based on an anchor post at any depth of the tree, returns top-level replies below that anchor. It does not include ancestors nor the anchor itself. This should be called after exhausting `app.bsky.unspecced.getPostThreadV2`. Does not require auth, but additional metadata and filtering will be applied for authed requests.";
|
|
21276
21276
|
readonly parameters: {
|
|
21277
21277
|
readonly type: "params";
|
|
21278
21278
|
readonly required: ["anchor"];
|
|
@@ -21297,17 +21297,17 @@ export declare const schemas: ({
|
|
|
21297
21297
|
readonly properties: {
|
|
21298
21298
|
readonly thread: {
|
|
21299
21299
|
readonly type: "array";
|
|
21300
|
-
readonly description: "A flat list of
|
|
21300
|
+
readonly description: "A flat list of other thread items. The depth of each item is indicated by the depth property inside the item.";
|
|
21301
21301
|
readonly items: {
|
|
21302
21302
|
readonly type: "ref";
|
|
21303
|
-
readonly ref: "lex:app.bsky.unspecced.
|
|
21303
|
+
readonly ref: "lex:app.bsky.unspecced.getPostThreadOtherV2#threadItem";
|
|
21304
21304
|
};
|
|
21305
21305
|
};
|
|
21306
21306
|
};
|
|
21307
21307
|
};
|
|
21308
21308
|
};
|
|
21309
21309
|
};
|
|
21310
|
-
readonly
|
|
21310
|
+
readonly threadItem: {
|
|
21311
21311
|
readonly type: "object";
|
|
21312
21312
|
readonly required: ["uri", "depth", "value"];
|
|
21313
21313
|
readonly properties: {
|
|
@@ -21378,7 +21378,7 @@ export declare const schemas: ({
|
|
|
21378
21378
|
readonly encoding: "application/json";
|
|
21379
21379
|
readonly schema: {
|
|
21380
21380
|
readonly type: "object";
|
|
21381
|
-
readonly required: ["thread", "
|
|
21381
|
+
readonly required: ["thread", "hasOtherReplies"];
|
|
21382
21382
|
readonly properties: {
|
|
21383
21383
|
readonly thread: {
|
|
21384
21384
|
readonly type: "array";
|
|
@@ -21392,9 +21392,9 @@ export declare const schemas: ({
|
|
|
21392
21392
|
readonly type: "ref";
|
|
21393
21393
|
readonly ref: "lex:app.bsky.feed.defs#threadgateView";
|
|
21394
21394
|
};
|
|
21395
|
-
readonly
|
|
21395
|
+
readonly hasOtherReplies: {
|
|
21396
21396
|
readonly type: "boolean";
|
|
21397
|
-
readonly description: "Whether this thread has
|
|
21397
|
+
readonly description: "Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them.";
|
|
21398
21398
|
};
|
|
21399
21399
|
};
|
|
21400
21400
|
};
|
|
@@ -23605,8 +23605,8 @@ export declare const ids: {
|
|
|
23605
23605
|
readonly AppBskyFeedGetFeedSkeleton: "app.bsky.feed.getFeedSkeleton";
|
|
23606
23606
|
readonly AppBskyFeedGetLikes: "app.bsky.feed.getLikes";
|
|
23607
23607
|
readonly AppBskyFeedGetListFeed: "app.bsky.feed.getListFeed";
|
|
23608
|
-
readonly AppBskyFeedGetPostThread: "app.bsky.feed.getPostThread";
|
|
23609
23608
|
readonly AppBskyFeedGetPosts: "app.bsky.feed.getPosts";
|
|
23609
|
+
readonly AppBskyFeedGetPostThread: "app.bsky.feed.getPostThread";
|
|
23610
23610
|
readonly AppBskyFeedGetQuotes: "app.bsky.feed.getQuotes";
|
|
23611
23611
|
readonly AppBskyFeedGetRepostedBy: "app.bsky.feed.getRepostedBy";
|
|
23612
23612
|
readonly AppBskyFeedGetSuggestedFeeds: "app.bsky.feed.getSuggestedFeeds";
|
|
@@ -23660,7 +23660,7 @@ export declare const ids: {
|
|
|
23660
23660
|
readonly AppBskyUnspeccedDefs: "app.bsky.unspecced.defs";
|
|
23661
23661
|
readonly AppBskyUnspeccedGetConfig: "app.bsky.unspecced.getConfig";
|
|
23662
23662
|
readonly AppBskyUnspeccedGetPopularFeedGenerators: "app.bsky.unspecced.getPopularFeedGenerators";
|
|
23663
|
-
readonly
|
|
23663
|
+
readonly AppBskyUnspeccedGetPostThreadOtherV2: "app.bsky.unspecced.getPostThreadOtherV2";
|
|
23664
23664
|
readonly AppBskyUnspeccedGetPostThreadV2: "app.bsky.unspecced.getPostThreadV2";
|
|
23665
23665
|
readonly AppBskyUnspeccedGetSuggestedFeeds: "app.bsky.unspecced.getSuggestedFeeds";
|
|
23666
23666
|
readonly AppBskyUnspeccedGetSuggestedFeedsSkeleton: "app.bsky.unspecced.getSuggestedFeedsSkeleton";
|
package/dist/lexicon/lexicons.js
CHANGED
|
@@ -6992,6 +6992,47 @@ exports.schemaDict = {
|
|
|
6992
6992
|
},
|
|
6993
6993
|
},
|
|
6994
6994
|
},
|
|
6995
|
+
AppBskyFeedGetPosts: {
|
|
6996
|
+
lexicon: 1,
|
|
6997
|
+
id: 'app.bsky.feed.getPosts',
|
|
6998
|
+
defs: {
|
|
6999
|
+
main: {
|
|
7000
|
+
type: 'query',
|
|
7001
|
+
description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
|
|
7002
|
+
parameters: {
|
|
7003
|
+
type: 'params',
|
|
7004
|
+
required: ['uris'],
|
|
7005
|
+
properties: {
|
|
7006
|
+
uris: {
|
|
7007
|
+
type: 'array',
|
|
7008
|
+
description: 'List of post AT-URIs to return hydrated views for.',
|
|
7009
|
+
items: {
|
|
7010
|
+
type: 'string',
|
|
7011
|
+
format: 'at-uri',
|
|
7012
|
+
},
|
|
7013
|
+
maxLength: 25,
|
|
7014
|
+
},
|
|
7015
|
+
},
|
|
7016
|
+
},
|
|
7017
|
+
output: {
|
|
7018
|
+
encoding: 'application/json',
|
|
7019
|
+
schema: {
|
|
7020
|
+
type: 'object',
|
|
7021
|
+
required: ['posts'],
|
|
7022
|
+
properties: {
|
|
7023
|
+
posts: {
|
|
7024
|
+
type: 'array',
|
|
7025
|
+
items: {
|
|
7026
|
+
type: 'ref',
|
|
7027
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
|
7028
|
+
},
|
|
7029
|
+
},
|
|
7030
|
+
},
|
|
7031
|
+
},
|
|
7032
|
+
},
|
|
7033
|
+
},
|
|
7034
|
+
},
|
|
7035
|
+
},
|
|
6995
7036
|
AppBskyFeedGetPostThread: {
|
|
6996
7037
|
lexicon: 1,
|
|
6997
7038
|
id: 'app.bsky.feed.getPostThread',
|
|
@@ -7053,47 +7094,6 @@ exports.schemaDict = {
|
|
|
7053
7094
|
},
|
|
7054
7095
|
},
|
|
7055
7096
|
},
|
|
7056
|
-
AppBskyFeedGetPosts: {
|
|
7057
|
-
lexicon: 1,
|
|
7058
|
-
id: 'app.bsky.feed.getPosts',
|
|
7059
|
-
defs: {
|
|
7060
|
-
main: {
|
|
7061
|
-
type: 'query',
|
|
7062
|
-
description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
|
|
7063
|
-
parameters: {
|
|
7064
|
-
type: 'params',
|
|
7065
|
-
required: ['uris'],
|
|
7066
|
-
properties: {
|
|
7067
|
-
uris: {
|
|
7068
|
-
type: 'array',
|
|
7069
|
-
description: 'List of post AT-URIs to return hydrated views for.',
|
|
7070
|
-
items: {
|
|
7071
|
-
type: 'string',
|
|
7072
|
-
format: 'at-uri',
|
|
7073
|
-
},
|
|
7074
|
-
maxLength: 25,
|
|
7075
|
-
},
|
|
7076
|
-
},
|
|
7077
|
-
},
|
|
7078
|
-
output: {
|
|
7079
|
-
encoding: 'application/json',
|
|
7080
|
-
schema: {
|
|
7081
|
-
type: 'object',
|
|
7082
|
-
required: ['posts'],
|
|
7083
|
-
properties: {
|
|
7084
|
-
posts: {
|
|
7085
|
-
type: 'array',
|
|
7086
|
-
items: {
|
|
7087
|
-
type: 'ref',
|
|
7088
|
-
ref: 'lex:app.bsky.feed.defs#postView',
|
|
7089
|
-
},
|
|
7090
|
-
},
|
|
7091
|
-
},
|
|
7092
|
-
},
|
|
7093
|
-
},
|
|
7094
|
-
},
|
|
7095
|
-
},
|
|
7096
|
-
},
|
|
7097
7097
|
AppBskyFeedGetQuotes: {
|
|
7098
7098
|
lexicon: 1,
|
|
7099
7099
|
id: 'app.bsky.feed.getQuotes',
|
|
@@ -10011,13 +10011,13 @@ exports.schemaDict = {
|
|
|
10011
10011
|
},
|
|
10012
10012
|
},
|
|
10013
10013
|
},
|
|
10014
|
-
|
|
10014
|
+
AppBskyUnspeccedGetPostThreadOtherV2: {
|
|
10015
10015
|
lexicon: 1,
|
|
10016
|
-
id: 'app.bsky.unspecced.
|
|
10016
|
+
id: 'app.bsky.unspecced.getPostThreadOtherV2',
|
|
10017
10017
|
defs: {
|
|
10018
10018
|
main: {
|
|
10019
10019
|
type: 'query',
|
|
10020
|
-
description: "(NOTE: this endpoint is under development and WILL change without notice. Don't use it until it is moved out of `unspecced` or your application WILL break) Get
|
|
10020
|
+
description: "(NOTE: this endpoint is under development and WILL change without notice. Don't use it until it is moved out of `unspecced` or your application WILL break) Get additional posts under a thread e.g. replies hidden by threadgate. Based on an anchor post at any depth of the tree, returns top-level replies below that anchor. It does not include ancestors nor the anchor itself. This should be called after exhausting `app.bsky.unspecced.getPostThreadV2`. Does not require auth, but additional metadata and filtering will be applied for authed requests.",
|
|
10021
10021
|
parameters: {
|
|
10022
10022
|
type: 'params',
|
|
10023
10023
|
required: ['anchor'],
|
|
@@ -10042,17 +10042,17 @@ exports.schemaDict = {
|
|
|
10042
10042
|
properties: {
|
|
10043
10043
|
thread: {
|
|
10044
10044
|
type: 'array',
|
|
10045
|
-
description: 'A flat list of
|
|
10045
|
+
description: 'A flat list of other thread items. The depth of each item is indicated by the depth property inside the item.',
|
|
10046
10046
|
items: {
|
|
10047
10047
|
type: 'ref',
|
|
10048
|
-
ref: 'lex:app.bsky.unspecced.
|
|
10048
|
+
ref: 'lex:app.bsky.unspecced.getPostThreadOtherV2#threadItem',
|
|
10049
10049
|
},
|
|
10050
10050
|
},
|
|
10051
10051
|
},
|
|
10052
10052
|
},
|
|
10053
10053
|
},
|
|
10054
10054
|
},
|
|
10055
|
-
|
|
10055
|
+
threadItem: {
|
|
10056
10056
|
type: 'object',
|
|
10057
10057
|
required: ['uri', 'depth', 'value'],
|
|
10058
10058
|
properties: {
|
|
@@ -10124,7 +10124,7 @@ exports.schemaDict = {
|
|
|
10124
10124
|
encoding: 'application/json',
|
|
10125
10125
|
schema: {
|
|
10126
10126
|
type: 'object',
|
|
10127
|
-
required: ['thread', '
|
|
10127
|
+
required: ['thread', 'hasOtherReplies'],
|
|
10128
10128
|
properties: {
|
|
10129
10129
|
thread: {
|
|
10130
10130
|
type: 'array',
|
|
@@ -10138,9 +10138,9 @@ exports.schemaDict = {
|
|
|
10138
10138
|
type: 'ref',
|
|
10139
10139
|
ref: 'lex:app.bsky.feed.defs#threadgateView',
|
|
10140
10140
|
},
|
|
10141
|
-
|
|
10141
|
+
hasOtherReplies: {
|
|
10142
10142
|
type: 'boolean',
|
|
10143
|
-
description: 'Whether this thread has
|
|
10143
|
+
description: 'Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them.',
|
|
10144
10144
|
},
|
|
10145
10145
|
},
|
|
10146
10146
|
},
|
|
@@ -12456,8 +12456,8 @@ exports.ids = {
|
|
|
12456
12456
|
AppBskyFeedGetFeedSkeleton: 'app.bsky.feed.getFeedSkeleton',
|
|
12457
12457
|
AppBskyFeedGetLikes: 'app.bsky.feed.getLikes',
|
|
12458
12458
|
AppBskyFeedGetListFeed: 'app.bsky.feed.getListFeed',
|
|
12459
|
-
AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread',
|
|
12460
12459
|
AppBskyFeedGetPosts: 'app.bsky.feed.getPosts',
|
|
12460
|
+
AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread',
|
|
12461
12461
|
AppBskyFeedGetQuotes: 'app.bsky.feed.getQuotes',
|
|
12462
12462
|
AppBskyFeedGetRepostedBy: 'app.bsky.feed.getRepostedBy',
|
|
12463
12463
|
AppBskyFeedGetSuggestedFeeds: 'app.bsky.feed.getSuggestedFeeds',
|
|
@@ -12511,7 +12511,7 @@ exports.ids = {
|
|
|
12511
12511
|
AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs',
|
|
12512
12512
|
AppBskyUnspeccedGetConfig: 'app.bsky.unspecced.getConfig',
|
|
12513
12513
|
AppBskyUnspeccedGetPopularFeedGenerators: 'app.bsky.unspecced.getPopularFeedGenerators',
|
|
12514
|
-
|
|
12514
|
+
AppBskyUnspeccedGetPostThreadOtherV2: 'app.bsky.unspecced.getPostThreadOtherV2',
|
|
12515
12515
|
AppBskyUnspeccedGetPostThreadV2: 'app.bsky.unspecced.getPostThreadV2',
|
|
12516
12516
|
AppBskyUnspeccedGetSuggestedFeeds: 'app.bsky.unspecced.getSuggestedFeeds',
|
|
12517
12517
|
AppBskyUnspeccedGetSuggestedFeedsSkeleton: 'app.bsky.unspecced.getSuggestedFeedsSkeleton',
|