Skip to content

Commit

Permalink
atproto-openapi-types/spec/api.json updated
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyliu7321 authored and github-actions[bot] committed Aug 6, 2024
1 parent 66d8508 commit 9a1d666
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 6 deletions.
2 changes: 1 addition & 1 deletion atproto-openapi-types/lexicons/app/bsky/feed/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
},
"feedContext": {
"type": "string",
"description": "Context on a feed item that was orginally supplied by the feed generator on getFeedSkeleton.",
"description": "Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton.",
"maxLength": 2000
}
}
Expand Down
2 changes: 1 addition & 1 deletion atproto-openapi-types/lexicons/com/atproto/label/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
},
"labelValueDefinition": {
"type": "object",
"description": "Declares a label value and its expected interpertations and behaviors.",
"description": "Declares a label value and its expected interpretations and behaviors.",
"required": ["identifier", "severity", "blurs", "locales"],
"properties": {
"identifier": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
"type": "string",
"format": "did",
"description": "The DID of the service that the token will be used to authenticate with"
},
"exp": {
"type": "integer",
"description": "The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope."
},
"lxm": {
"type": "string",
"format": "nsid",
"description": "Lexicon (XRPC) method to bind the requested token to"
}
}
},
Expand All @@ -27,7 +36,13 @@
}
}
}
}
},
"errors": [
{
"name": "BadExpiration",
"description": "Indicates that the requested expiration date is not a valid. May be in the past or may be reliant on the requested scopes."
}
]
}
}
}
27 changes: 24 additions & 3 deletions atproto-openapi-types/spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -11870,6 +11870,26 @@
"description": "The DID of the service that the token will be used to authenticate with",
"format": "did"
}
},
{
"name": "exp",
"in": "query",
"description": "The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope.",
"required": false,
"schema": {
"type": "integer"
}
},
{
"name": "lxm",
"in": "query",
"description": "Lexicon (XRPC) method to bind the requested token to",
"required": false,
"schema": {
"type": "string",
"description": "Lexicon (XRPC) method to bind the requested token to",
"format": "nsid"
}
}
],
"responses": {
Expand Down Expand Up @@ -11907,7 +11927,8 @@
"enum": [
"InvalidRequest",
"ExpiredToken",
"InvalidToken"
"InvalidToken",
"BadExpiration"
]
},
"message": {
Expand Down Expand Up @@ -17261,7 +17282,7 @@
},
"feedContext": {
"type": "string",
"description": "Context on a feed item that was orginally supplied by the feed generator on getFeedSkeleton.",
"description": "Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton.",
"maxLength": 2000
}
}
Expand Down Expand Up @@ -18880,7 +18901,7 @@
},
"com.atproto.label.defs.labelValueDefinition": {
"type": "object",
"description": "Declares a label value and its expected interpertations and behaviors.",
"description": "Declares a label value and its expected interpretations and behaviors.",
"required": [
"identifier",
"severity",
Expand Down

0 comments on commit 9a1d666

Please sign in to comment.