Skip to content

Commit c039c1a

Browse files
committed
Added /profile/apps endpoints
1 parent 19ccc69 commit c039c1a

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

docs/src/data/endpoints/profile.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,3 +308,43 @@ endpoints:
308308
https://$api_root/$version/profile/whitelist/123
309309
python: |
310310
# coming soon
311+
/profile/apps:
312+
group: Authorized Applications
313+
description: >
314+
These are OAuth Applications that you have authorized to access
315+
resources on behalf of your user. These include Third-party applications
316+
as well as applications that you have created and authorized yourself.
317+
methods:
318+
GET:
319+
description: >
320+
Returns all application allowed to access your user's resources.
321+
examples:
322+
curl: |
323+
curl -H "Content-Type: application/json" \
324+
-H "Authorization: Bearer $TOKEN" \
325+
https://$api_root/$version/profile/apps
326+
python: |
327+
# coming soon
328+
/profile/apps/$id:
329+
group: Authorized Applications
330+
description: Manage OAuth Applications for your user
331+
methods:
332+
GET:
333+
description: Returns information about a specific OAuth Application.
334+
examples:
335+
curl: |
336+
curl -H "Content-Type: application/json" \
337+
-H "Authorization: Bearer $TOKEN" \
338+
https://$api_root/$version/profile/apps/123
339+
python: |
340+
# coming soon
341+
DELETE:
342+
description: Deauthorize an OAuth Application
343+
examples:
344+
curl: |
345+
curl -H "Content-Type: application/json" \
346+
-H "Authorization: Bearer $TOKEN" \
347+
-X DELETE \
348+
https://$api_root/$version/profile/apps/123
349+
python: |
350+
# coming soon

0 commit comments

Comments
 (0)