diff --git a/api/bsky/unspeccedgetOnboardingSuggestedUsersSkeleton.go b/api/bsky/unspeccedgetOnboardingSuggestedUsersSkeleton.go new file mode 100644 index 00000000..bb515b8c --- /dev/null +++ b/api/bsky/unspeccedgetOnboardingSuggestedUsersSkeleton.go @@ -0,0 +1,44 @@ +// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. + +// Lexicon schema: app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton + +package bsky + +import ( + "context" + + lexutil "github.com/bluesky-social/indigo/lex/util" +) + +// UnspeccedGetOnboardingSuggestedUsersSkeleton_Output is the output of a app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton call. +type UnspeccedGetOnboardingSuggestedUsersSkeleton_Output struct { + Dids []string `json:"dids" cborgen:"dids"` + // recId: DEPRECATED: use recIdStr instead. + RecId *string `json:"recId,omitempty" cborgen:"recId,omitempty"` + // recIdStr: Snowflake for this recommendation, use when submitting recommendation events. + RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"` +} + +// UnspeccedGetOnboardingSuggestedUsersSkeleton calls the XRPC method "app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton". +// +// category: Category of users to get suggestions for. +// viewer: DID of the account making the request (not included for public/unauthenticated queries). +func UnspeccedGetOnboardingSuggestedUsersSkeleton(ctx context.Context, c lexutil.LexClient, category string, limit int64, viewer string) (*UnspeccedGetOnboardingSuggestedUsersSkeleton_Output, error) { + var out UnspeccedGetOnboardingSuggestedUsersSkeleton_Output + + params := map[string]interface{}{} + if category != "" { + params["category"] = category + } + if limit != 0 { + params["limit"] = limit + } + if viewer != "" { + params["viewer"] = viewer + } + if err := c.LexDo(ctx, lexutil.Query, "", "app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton", params, nil, &out); err != nil { + return nil, err + } + + return &out, nil +} diff --git a/api/bsky/unspeccedgetSuggestedOnboardingUsers.go b/api/bsky/unspeccedgetSuggestedOnboardingUsers.go new file mode 100644 index 00000000..44cecda5 --- /dev/null +++ b/api/bsky/unspeccedgetSuggestedOnboardingUsers.go @@ -0,0 +1,40 @@ +// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. + +// Lexicon schema: app.bsky.unspecced.getSuggestedOnboardingUsers + +package bsky + +import ( + "context" + + lexutil "github.com/bluesky-social/indigo/lex/util" +) + +// UnspeccedGetSuggestedOnboardingUsers_Output is the output of a app.bsky.unspecced.getSuggestedOnboardingUsers call. +type UnspeccedGetSuggestedOnboardingUsers_Output struct { + Actors []*ActorDefs_ProfileView `json:"actors" cborgen:"actors"` + // recId: DEPRECATED: use recIdStr instead. + RecId *string `json:"recId,omitempty" cborgen:"recId,omitempty"` + // recIdStr: Snowflake for this recommendation, use when submitting recommendation events. + RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"` +} + +// UnspeccedGetSuggestedOnboardingUsers calls the XRPC method "app.bsky.unspecced.getSuggestedOnboardingUsers". +// +// category: Category of users to get suggestions for. +func UnspeccedGetSuggestedOnboardingUsers(ctx context.Context, c lexutil.LexClient, category string, limit int64) (*UnspeccedGetSuggestedOnboardingUsers_Output, error) { + var out UnspeccedGetSuggestedOnboardingUsers_Output + + params := map[string]interface{}{} + if category != "" { + params["category"] = category + } + if limit != 0 { + params["limit"] = limit + } + if err := c.LexDo(ctx, lexutil.Query, "", "app.bsky.unspecced.getSuggestedOnboardingUsers", params, nil, &out); err != nil { + return nil, err + } + + return &out, nil +} diff --git a/api/bsky/unspeccedgetSuggestedUsersForDiscover.go b/api/bsky/unspeccedgetSuggestedUsersForDiscover.go new file mode 100644 index 00000000..4d289554 --- /dev/null +++ b/api/bsky/unspeccedgetSuggestedUsersForDiscover.go @@ -0,0 +1,33 @@ +// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. + +// Lexicon schema: app.bsky.unspecced.getSuggestedUsersForDiscover + +package bsky + +import ( + "context" + + lexutil "github.com/bluesky-social/indigo/lex/util" +) + +// UnspeccedGetSuggestedUsersForDiscover_Output is the output of a app.bsky.unspecced.getSuggestedUsersForDiscover call. +type UnspeccedGetSuggestedUsersForDiscover_Output struct { + Actors []*ActorDefs_ProfileView `json:"actors" cborgen:"actors"` + // recIdStr: Snowflake for this recommendation, use when submitting recommendation events. + RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"` +} + +// UnspeccedGetSuggestedUsersForDiscover calls the XRPC method "app.bsky.unspecced.getSuggestedUsersForDiscover". +func UnspeccedGetSuggestedUsersForDiscover(ctx context.Context, c lexutil.LexClient, limit int64) (*UnspeccedGetSuggestedUsersForDiscover_Output, error) { + var out UnspeccedGetSuggestedUsersForDiscover_Output + + params := map[string]interface{}{} + if limit != 0 { + params["limit"] = limit + } + if err := c.LexDo(ctx, lexutil.Query, "", "app.bsky.unspecced.getSuggestedUsersForDiscover", params, nil, &out); err != nil { + return nil, err + } + + return &out, nil +} diff --git a/api/bsky/unspeccedgetSuggestedUsersForDiscoverSkeleton.go b/api/bsky/unspeccedgetSuggestedUsersForDiscoverSkeleton.go new file mode 100644 index 00000000..19ba79fd --- /dev/null +++ b/api/bsky/unspeccedgetSuggestedUsersForDiscoverSkeleton.go @@ -0,0 +1,38 @@ +// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. + +// Lexicon schema: app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton + +package bsky + +import ( + "context" + + lexutil "github.com/bluesky-social/indigo/lex/util" +) + +// UnspeccedGetSuggestedUsersForDiscoverSkeleton_Output is the output of a app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton call. +type UnspeccedGetSuggestedUsersForDiscoverSkeleton_Output struct { + Dids []string `json:"dids" cborgen:"dids"` + // recIdStr: Snowflake for this recommendation, use when submitting recommendation events. + RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"` +} + +// UnspeccedGetSuggestedUsersForDiscoverSkeleton calls the XRPC method "app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton". +// +// viewer: DID of the account making the request (not included for public/unauthenticated queries). +func UnspeccedGetSuggestedUsersForDiscoverSkeleton(ctx context.Context, c lexutil.LexClient, limit int64, viewer string) (*UnspeccedGetSuggestedUsersForDiscoverSkeleton_Output, error) { + var out UnspeccedGetSuggestedUsersForDiscoverSkeleton_Output + + params := map[string]interface{}{} + if limit != 0 { + params["limit"] = limit + } + if viewer != "" { + params["viewer"] = viewer + } + if err := c.LexDo(ctx, lexutil.Query, "", "app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton", params, nil, &out); err != nil { + return nil, err + } + + return &out, nil +} diff --git a/api/bsky/unspeccedgetSuggestedUsersForExplore.go b/api/bsky/unspeccedgetSuggestedUsersForExplore.go new file mode 100644 index 00000000..70dc3749 --- /dev/null +++ b/api/bsky/unspeccedgetSuggestedUsersForExplore.go @@ -0,0 +1,38 @@ +// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. + +// Lexicon schema: app.bsky.unspecced.getSuggestedUsersForExplore + +package bsky + +import ( + "context" + + lexutil "github.com/bluesky-social/indigo/lex/util" +) + +// UnspeccedGetSuggestedUsersForExplore_Output is the output of a app.bsky.unspecced.getSuggestedUsersForExplore call. +type UnspeccedGetSuggestedUsersForExplore_Output struct { + Actors []*ActorDefs_ProfileView `json:"actors" cborgen:"actors"` + // recIdStr: Snowflake for this recommendation, use when submitting recommendation events. + RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"` +} + +// UnspeccedGetSuggestedUsersForExplore calls the XRPC method "app.bsky.unspecced.getSuggestedUsersForExplore". +// +// category: Category of users to get suggestions for. +func UnspeccedGetSuggestedUsersForExplore(ctx context.Context, c lexutil.LexClient, category string, limit int64) (*UnspeccedGetSuggestedUsersForExplore_Output, error) { + var out UnspeccedGetSuggestedUsersForExplore_Output + + params := map[string]interface{}{} + if category != "" { + params["category"] = category + } + if limit != 0 { + params["limit"] = limit + } + if err := c.LexDo(ctx, lexutil.Query, "", "app.bsky.unspecced.getSuggestedUsersForExplore", params, nil, &out); err != nil { + return nil, err + } + + return &out, nil +} diff --git a/api/bsky/unspeccedgetSuggestedUsersForExploreSkeleton.go b/api/bsky/unspeccedgetSuggestedUsersForExploreSkeleton.go new file mode 100644 index 00000000..762940aa --- /dev/null +++ b/api/bsky/unspeccedgetSuggestedUsersForExploreSkeleton.go @@ -0,0 +1,42 @@ +// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. + +// Lexicon schema: app.bsky.unspecced.getSuggestedUsersForExploreSkeleton + +package bsky + +import ( + "context" + + lexutil "github.com/bluesky-social/indigo/lex/util" +) + +// UnspeccedGetSuggestedUsersForExploreSkeleton_Output is the output of a app.bsky.unspecced.getSuggestedUsersForExploreSkeleton call. +type UnspeccedGetSuggestedUsersForExploreSkeleton_Output struct { + Dids []string `json:"dids" cborgen:"dids"` + // recIdStr: Snowflake for this recommendation, use when submitting recommendation events. + RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"` +} + +// UnspeccedGetSuggestedUsersForExploreSkeleton calls the XRPC method "app.bsky.unspecced.getSuggestedUsersForExploreSkeleton". +// +// category: Category of users to get suggestions for. +// viewer: DID of the account making the request (not included for public/unauthenticated queries). +func UnspeccedGetSuggestedUsersForExploreSkeleton(ctx context.Context, c lexutil.LexClient, category string, limit int64, viewer string) (*UnspeccedGetSuggestedUsersForExploreSkeleton_Output, error) { + var out UnspeccedGetSuggestedUsersForExploreSkeleton_Output + + params := map[string]interface{}{} + if category != "" { + params["category"] = category + } + if limit != 0 { + params["limit"] = limit + } + if viewer != "" { + params["viewer"] = viewer + } + if err := c.LexDo(ctx, lexutil.Query, "", "app.bsky.unspecced.getSuggestedUsersForExploreSkeleton", params, nil, &out); err != nil { + return nil, err + } + + return &out, nil +} diff --git a/api/bsky/unspeccedgetSuggestedUsersForSeeMore.go b/api/bsky/unspeccedgetSuggestedUsersForSeeMore.go new file mode 100644 index 00000000..43153b88 --- /dev/null +++ b/api/bsky/unspeccedgetSuggestedUsersForSeeMore.go @@ -0,0 +1,38 @@ +// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. + +// Lexicon schema: app.bsky.unspecced.getSuggestedUsersForSeeMore + +package bsky + +import ( + "context" + + lexutil "github.com/bluesky-social/indigo/lex/util" +) + +// UnspeccedGetSuggestedUsersForSeeMore_Output is the output of a app.bsky.unspecced.getSuggestedUsersForSeeMore call. +type UnspeccedGetSuggestedUsersForSeeMore_Output struct { + Actors []*ActorDefs_ProfileView `json:"actors" cborgen:"actors"` + // recIdStr: Snowflake for this recommendation, use when submitting recommendation events. + RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"` +} + +// UnspeccedGetSuggestedUsersForSeeMore calls the XRPC method "app.bsky.unspecced.getSuggestedUsersForSeeMore". +// +// category: Category of users to get suggestions for. +func UnspeccedGetSuggestedUsersForSeeMore(ctx context.Context, c lexutil.LexClient, category string, limit int64) (*UnspeccedGetSuggestedUsersForSeeMore_Output, error) { + var out UnspeccedGetSuggestedUsersForSeeMore_Output + + params := map[string]interface{}{} + if category != "" { + params["category"] = category + } + if limit != 0 { + params["limit"] = limit + } + if err := c.LexDo(ctx, lexutil.Query, "", "app.bsky.unspecced.getSuggestedUsersForSeeMore", params, nil, &out); err != nil { + return nil, err + } + + return &out, nil +} diff --git a/api/bsky/unspeccedgetSuggestedUsersForSeeMoreSkeleton.go b/api/bsky/unspeccedgetSuggestedUsersForSeeMoreSkeleton.go new file mode 100644 index 00000000..dd73777a --- /dev/null +++ b/api/bsky/unspeccedgetSuggestedUsersForSeeMoreSkeleton.go @@ -0,0 +1,42 @@ +// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. + +// Lexicon schema: app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton + +package bsky + +import ( + "context" + + lexutil "github.com/bluesky-social/indigo/lex/util" +) + +// UnspeccedGetSuggestedUsersForSeeMoreSkeleton_Output is the output of a app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton call. +type UnspeccedGetSuggestedUsersForSeeMoreSkeleton_Output struct { + Dids []string `json:"dids" cborgen:"dids"` + // recIdStr: Snowflake for this recommendation, use when submitting recommendation events. + RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"` +} + +// UnspeccedGetSuggestedUsersForSeeMoreSkeleton calls the XRPC method "app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton". +// +// category: Category of users to get suggestions for. +// viewer: DID of the account making the request (not included for public/unauthenticated queries). +func UnspeccedGetSuggestedUsersForSeeMoreSkeleton(ctx context.Context, c lexutil.LexClient, category string, limit int64, viewer string) (*UnspeccedGetSuggestedUsersForSeeMoreSkeleton_Output, error) { + var out UnspeccedGetSuggestedUsersForSeeMoreSkeleton_Output + + params := map[string]interface{}{} + if category != "" { + params["category"] = category + } + if limit != 0 { + params["limit"] = limit + } + if viewer != "" { + params["viewer"] = viewer + } + if err := c.LexDo(ctx, lexutil.Query, "", "app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton", params, nil, &out); err != nil { + return nil, err + } + + return &out, nil +} diff --git a/lexicons/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.json b/lexicons/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.json new file mode 100644 index 00000000..1303ac17 --- /dev/null +++ b/lexicons/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.json @@ -0,0 +1,54 @@ +{ + "lexicon": 1, + "id": "app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton", + "defs": { + "main": { + "type": "query", + "description": "Get a skeleton of suggested users for onboarding. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedOnboardingUsers", + "parameters": { + "type": "params", + "properties": { + "viewer": { + "type": "string", + "format": "did", + "description": "DID of the account making the request (not included for public/unauthenticated queries)." + }, + "category": { + "type": "string", + "description": "Category of users to get suggestions for." + }, + "limit": { + "type": "integer", + "minimum": 1, + "maximum": 50, + "default": 25 + } + } + }, + "output": { + "encoding": "application/json", + "schema": { + "type": "object", + "required": ["dids"], + "properties": { + "dids": { + "type": "array", + "items": { + "type": "string", + "format": "did" + } + }, + "recId": { + "type": "string", + "description": "DEPRECATED: use recIdStr instead." + }, + "recIdStr": { + "type": "string", + "description": "Snowflake for this recommendation, use when submitting recommendation events." + } + } + } + } + } + } +} diff --git a/lexicons/app/bsky/unspecced/getSuggestedOnboardingUsers.json b/lexicons/app/bsky/unspecced/getSuggestedOnboardingUsers.json new file mode 100644 index 00000000..24e45566 --- /dev/null +++ b/lexicons/app/bsky/unspecced/getSuggestedOnboardingUsers.json @@ -0,0 +1,49 @@ +{ + "lexicon": 1, + "id": "app.bsky.unspecced.getSuggestedOnboardingUsers", + "defs": { + "main": { + "type": "query", + "description": "Get a list of suggested users for onboarding", + "parameters": { + "type": "params", + "properties": { + "category": { + "type": "string", + "description": "Category of users to get suggestions for." + }, + "limit": { + "type": "integer", + "minimum": 1, + "maximum": 50, + "default": 25 + } + } + }, + "output": { + "encoding": "application/json", + "schema": { + "type": "object", + "required": ["actors"], + "properties": { + "actors": { + "type": "array", + "items": { + "type": "ref", + "ref": "app.bsky.actor.defs#profileView" + } + }, + "recId": { + "type": "string", + "description": "DEPRECATED: use recIdStr instead." + }, + "recIdStr": { + "type": "string", + "description": "Snowflake for this recommendation, use when submitting recommendation events." + } + } + } + } + } + } +} diff --git a/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.json b/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.json new file mode 100644 index 00000000..7d0f289d --- /dev/null +++ b/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscover.json @@ -0,0 +1,41 @@ +{ + "lexicon": 1, + "id": "app.bsky.unspecced.getSuggestedUsersForDiscover", + "defs": { + "main": { + "type": "query", + "description": "Get a list of suggested users for the Discover page", + "parameters": { + "type": "params", + "properties": { + "limit": { + "type": "integer", + "minimum": 1, + "maximum": 50, + "default": 25 + } + } + }, + "output": { + "encoding": "application/json", + "schema": { + "type": "object", + "required": ["actors"], + "properties": { + "actors": { + "type": "array", + "items": { + "type": "ref", + "ref": "app.bsky.actor.defs#profileView" + } + }, + "recIdStr": { + "type": "string", + "description": "Snowflake for this recommendation, use when submitting recommendation events." + } + } + } + } + } + } +} diff --git a/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.json b/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.json new file mode 100644 index 00000000..7f017ca5 --- /dev/null +++ b/lexicons/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.json @@ -0,0 +1,46 @@ +{ + "lexicon": 1, + "id": "app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton", + "defs": { + "main": { + "type": "query", + "description": "Get a skeleton of suggested users for the Discover page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForDiscover", + "parameters": { + "type": "params", + "properties": { + "viewer": { + "type": "string", + "format": "did", + "description": "DID of the account making the request (not included for public/unauthenticated queries)." + }, + "limit": { + "type": "integer", + "minimum": 1, + "maximum": 50, + "default": 25 + } + } + }, + "output": { + "encoding": "application/json", + "schema": { + "type": "object", + "required": ["dids"], + "properties": { + "dids": { + "type": "array", + "items": { + "type": "string", + "format": "did" + } + }, + "recIdStr": { + "type": "string", + "description": "Snowflake for this recommendation, use when submitting recommendation events." + } + } + } + } + } + } +} diff --git a/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.json b/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.json new file mode 100644 index 00000000..a37a21a7 --- /dev/null +++ b/lexicons/app/bsky/unspecced/getSuggestedUsersForExplore.json @@ -0,0 +1,45 @@ +{ + "lexicon": 1, + "id": "app.bsky.unspecced.getSuggestedUsersForExplore", + "defs": { + "main": { + "type": "query", + "description": "Get a list of suggested users for the Explore page", + "parameters": { + "type": "params", + "properties": { + "category": { + "type": "string", + "description": "Category of users to get suggestions for." + }, + "limit": { + "type": "integer", + "minimum": 1, + "maximum": 50, + "default": 25 + } + } + }, + "output": { + "encoding": "application/json", + "schema": { + "type": "object", + "required": ["actors"], + "properties": { + "actors": { + "type": "array", + "items": { + "type": "ref", + "ref": "app.bsky.actor.defs#profileView" + } + }, + "recIdStr": { + "type": "string", + "description": "Snowflake for this recommendation, use when submitting recommendation events." + } + } + } + } + } + } +} diff --git a/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.json b/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.json new file mode 100644 index 00000000..b3f3186e --- /dev/null +++ b/lexicons/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.json @@ -0,0 +1,50 @@ +{ + "lexicon": 1, + "id": "app.bsky.unspecced.getSuggestedUsersForExploreSkeleton", + "defs": { + "main": { + "type": "query", + "description": "Get a skeleton of suggested users for the Explore page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForExplore", + "parameters": { + "type": "params", + "properties": { + "viewer": { + "type": "string", + "format": "did", + "description": "DID of the account making the request (not included for public/unauthenticated queries)." + }, + "category": { + "type": "string", + "description": "Category of users to get suggestions for." + }, + "limit": { + "type": "integer", + "minimum": 1, + "maximum": 50, + "default": 25 + } + } + }, + "output": { + "encoding": "application/json", + "schema": { + "type": "object", + "required": ["dids"], + "properties": { + "dids": { + "type": "array", + "items": { + "type": "string", + "format": "did" + } + }, + "recIdStr": { + "type": "string", + "description": "Snowflake for this recommendation, use when submitting recommendation events." + } + } + } + } + } + } +} diff --git a/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.json b/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.json new file mode 100644 index 00000000..1938df7e --- /dev/null +++ b/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMore.json @@ -0,0 +1,45 @@ +{ + "lexicon": 1, + "id": "app.bsky.unspecced.getSuggestedUsersForSeeMore", + "defs": { + "main": { + "type": "query", + "description": "Get a list of suggested users for the See More page", + "parameters": { + "type": "params", + "properties": { + "category": { + "type": "string", + "description": "Category of users to get suggestions for." + }, + "limit": { + "type": "integer", + "minimum": 1, + "maximum": 50, + "default": 25 + } + } + }, + "output": { + "encoding": "application/json", + "schema": { + "type": "object", + "required": ["actors"], + "properties": { + "actors": { + "type": "array", + "items": { + "type": "ref", + "ref": "app.bsky.actor.defs#profileView" + } + }, + "recIdStr": { + "type": "string", + "description": "Snowflake for this recommendation, use when submitting recommendation events." + } + } + } + } + } + } +} diff --git a/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.json b/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.json new file mode 100644 index 00000000..954b518d --- /dev/null +++ b/lexicons/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.json @@ -0,0 +1,50 @@ +{ + "lexicon": 1, + "id": "app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton", + "defs": { + "main": { + "type": "query", + "description": "Get a skeleton of suggested users for the See More page. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsersForSeeMore", + "parameters": { + "type": "params", + "properties": { + "viewer": { + "type": "string", + "format": "did", + "description": "DID of the account making the request (not included for public/unauthenticated queries)." + }, + "category": { + "type": "string", + "description": "Category of users to get suggestions for." + }, + "limit": { + "type": "integer", + "minimum": 1, + "maximum": 50, + "default": 25 + } + } + }, + "output": { + "encoding": "application/json", + "schema": { + "type": "object", + "required": ["dids"], + "properties": { + "dids": { + "type": "array", + "items": { + "type": "string", + "format": "did" + } + }, + "recIdStr": { + "type": "string", + "description": "Snowflake for this recommendation, use when submitting recommendation events." + } + } + } + } + } + } +}