* Activity subscription lexicons * Update lexicons/app/bsky/notification/declaration.json Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * update codegen --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"lexicon": 1,
|
|
"id": "app.bsky.notification.putActivitySubscription",
|
|
"defs": {
|
|
"main": {
|
|
"type": "procedure",
|
|
"description": "Puts an activity subscription entry. The key should be omitted for creation and provided for updates. Requires auth.",
|
|
"input": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "object",
|
|
"required": ["subject", "activitySubscription"],
|
|
"properties": {
|
|
"subject": { "type": "string", "format": "did" },
|
|
"activitySubscription": {
|
|
"type": "ref",
|
|
"ref": "app.bsky.notification.defs#activitySubscription"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "object",
|
|
"required": ["subject"],
|
|
"properties": {
|
|
"subject": { "type": "string", "format": "did" },
|
|
"activitySubscription": {
|
|
"type": "ref",
|
|
"ref": "app.bsky.notification.defs#activitySubscription"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|