-
Notifications
You must be signed in to change notification settings - Fork 577
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b75704
commit 04d4712
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
lexicons/app/bsky/subscription/getActiveSubscriptions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.subscription.getActiveSubscriptions", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Enumerate active subscriptions for the requesting account. Requires auth.", | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": [ "subscriptions" ], | ||
"properties": { | ||
"subscriptions": { | ||
"type": "array", | ||
"items": { | ||
"type": "ref", | ||
"ref": "#subscription" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"subscription": { | ||
"type": "object", | ||
"required": [ | ||
"status", | ||
"renewalStatus", | ||
"group", | ||
"platform", | ||
"offering", | ||
"periodEndsAt", | ||
"periodStartsAt", | ||
"purchasedAt" | ||
], | ||
"properties": { | ||
"status": { "type": "string" }, | ||
"renewalStatus": { "type": "string" }, | ||
"group": { "type": "string" }, | ||
"platform": { "type": "string" }, | ||
"offering": { "type": "string" }, | ||
"periodEndsAt": { "type": "string", "format": "datetime" }, | ||
"periodStartsAt": { "type": "string", "format": "datetime" }, | ||
"purchasedAt": { "type": "string", "format": "datetime" } | ||
} | ||
} | ||
} | ||
} |