|
997 | 997 | }, |
998 | 998 | "style": "form" |
999 | 999 | }, |
| 1000 | + { |
| 1001 | + "in": "query", |
| 1002 | + "name": "filter[scope]", |
| 1003 | + "description": "Retrieve the items with the given scope", |
| 1004 | + "schema": { |
| 1005 | + "description": "Retrieve the items with the given scope", |
| 1006 | + "default": [], |
| 1007 | + "type": "array", |
| 1008 | + "items": { |
| 1009 | + "type": "string" |
| 1010 | + } |
| 1011 | + }, |
| 1012 | + "style": "form" |
| 1013 | + }, |
1000 | 1014 | { |
1001 | 1015 | "in": "query", |
1002 | 1016 | "name": "filter[status]", |
|
1031 | 1045 | "nullable": true |
1032 | 1046 | }, |
1033 | 1047 | "style": "form" |
| 1048 | + }, |
| 1049 | + { |
| 1050 | + "in": "query", |
| 1051 | + "name": "filter[expires]", |
| 1052 | + "description": "Filter by whether the access token has an expiry time", |
| 1053 | + "schema": { |
| 1054 | + "description": "Filter by whether the access token has an expiry time", |
| 1055 | + "type": "boolean", |
| 1056 | + "nullable": true |
| 1057 | + }, |
| 1058 | + "style": "form" |
1034 | 1059 | } |
1035 | 1060 | ], |
1036 | 1061 | "responses": { |
|
5138 | 5163 | "$ref": "#/components/schemas/ULID", |
5139 | 5164 | "nullable": true |
5140 | 5165 | }, |
| 5166 | + "filter[scope]": { |
| 5167 | + "description": "Retrieve the items with the given scope", |
| 5168 | + "default": [], |
| 5169 | + "type": "array", |
| 5170 | + "items": { |
| 5171 | + "type": "string" |
| 5172 | + } |
| 5173 | + }, |
5141 | 5174 | "filter[status]": { |
5142 | 5175 | "description": "Filter by session status", |
5143 | 5176 | "$ref": "#/components/schemas/PersonalSessionStatus", |
|
5154 | 5187 | "type": "string", |
5155 | 5188 | "format": "date-time", |
5156 | 5189 | "nullable": true |
| 5190 | + }, |
| 5191 | + "filter[expires]": { |
| 5192 | + "description": "Filter by whether the access token has an expiry time", |
| 5193 | + "type": "boolean", |
| 5194 | + "nullable": true |
5157 | 5195 | } |
5158 | 5196 | } |
5159 | 5197 | }, |
|
5230 | 5268 | "actor_user_id", |
5231 | 5269 | "created_at", |
5232 | 5270 | "human_name", |
5233 | | - "owner_client_id", |
5234 | | - "owner_user_id", |
5235 | 5271 | "scope" |
5236 | 5272 | ], |
5237 | 5273 | "properties": { |
|
5248 | 5284 | }, |
5249 | 5285 | "owner_user_id": { |
5250 | 5286 | "description": "The ID of the user who owns this session (if user-owned)", |
5251 | | - "$ref": "#/components/schemas/ULID" |
| 5287 | + "$ref": "#/components/schemas/ULID", |
| 5288 | + "nullable": true |
5252 | 5289 | }, |
5253 | 5290 | "owner_client_id": { |
5254 | 5291 | "description": "The ID of the `OAuth2` client that owns this session (if client-owned)", |
5255 | | - "$ref": "#/components/schemas/ULID" |
| 5292 | + "$ref": "#/components/schemas/ULID", |
| 5293 | + "nullable": true |
5256 | 5294 | }, |
5257 | 5295 | "actor_user_id": { |
5258 | 5296 | "description": "The ID of the user that the session acts on behalf of", |
|
5315 | 5353 | "expires_in": { |
5316 | 5354 | "description": "Token expiry time in seconds. If not set, the token won't expire.", |
5317 | 5355 | "type": "integer", |
5318 | | - "format": "uint64", |
| 5356 | + "format": "uint32", |
5319 | 5357 | "minimum": 0.0, |
5320 | 5358 | "nullable": true |
5321 | 5359 | } |
|
5342 | 5380 | "type": "object", |
5343 | 5381 | "properties": { |
5344 | 5382 | "expires_in": { |
5345 | | - "description": "Token expiry time in seconds. If not set, the token will default to the same lifetime as when originally issued.", |
| 5383 | + "description": "Token expiry time in seconds. If not set, the token won't expire.", |
5346 | 5384 | "type": "integer", |
5347 | | - "format": "uint64", |
| 5385 | + "format": "uint32", |
5348 | 5386 | "minimum": 0.0, |
5349 | 5387 | "nullable": true |
5350 | 5388 | } |
|
0 commit comments