API: Support for deprecated API endpoints and OAuth removal
This commit is contained in:
parent
a556b7c029
commit
b5f59d5be0
12 changed files with 74 additions and 57 deletions
|
@ -30,8 +30,6 @@ These endpoints use the [Friendica API entities](help/API-Entities).
|
|||
- POST api/friendships/destroy
|
||||
- GET api/friends/ids
|
||||
- GET/POST api/help/test
|
||||
- POST api/oauth/access_token
|
||||
- POST api/oauth/request_token
|
||||
- GET api/search
|
||||
- GET api/statuses/show/:id
|
||||
- POST api/statuses/destroy/:id
|
||||
|
@ -67,6 +65,8 @@ These endpoints use the [Friendica API entities](help/API-Entities).
|
|||
- blocks/exists
|
||||
- blocks/blocking
|
||||
- oauth/authorize
|
||||
- oauth/access_token
|
||||
- oauth/request_token
|
||||
- statusnet/groups/timeline
|
||||
- statusnet/groups/show
|
||||
- statusnet/groups/create
|
||||
|
|
|
@ -93,9 +93,11 @@ These endpoints use the [Mastodon API entities](https://docs.joinmastodon.org/en
|
|||
- [`POST /api/v1/notifications/clear`](https://docs.joinmastodon.org/methods/notifications/)
|
||||
- [`POST /api/v1/notifications/:id/dismiss`](https://docs.joinmastodon.org/methods/notifications/)
|
||||
- [`GET /api/v1/preferences`](https://docs.joinmastodon.org/methods/accounts/preferences/)
|
||||
- [`GET /api/v1/search`](https://docs.joinmastodon.org/methods/search/)
|
||||
- [`POST /api/v1/statuses`](https://docs.joinmastodon.org/methods/statuses/)
|
||||
- [`GET /api/v1/statuses/:id`](https://docs.joinmastodon.org/methods/statuses/)
|
||||
- [`DELETE /api/v1/statuses/:id`](https://docs.joinmastodon.org/methods/statuses/)
|
||||
- [`GET /api/v1/statuses/:id/card`](https://docs.joinmastodon.org/methods/statuses/)
|
||||
- [`GET /api/v1/statuses/:id/context`](https://docs.joinmastodon.org/methods/statuses/)
|
||||
- [`GET /api/v1/statuses/:id/reblogged_by`](https://docs.joinmastodon.org/methods/statuses/)
|
||||
- [`GET /api/v1/statuses/:id/favourited_by`](https://docs.joinmastodon.org/methods/statuses/)
|
||||
|
|
|
@ -619,10 +619,6 @@ Here is a complete list of all hook callbacks with file locations (as of 24-Sep-
|
|||
|
||||
Hook::callAll('jot_tool', $jotplugins);
|
||||
|
||||
### src/Network/FKOAuth1.php
|
||||
|
||||
Hook::callAll('logged_in', $a->user);
|
||||
|
||||
### src/Render/FriendicaSmartyEngine.php
|
||||
|
||||
Hook::callAll("template_vars", $arr);
|
||||
|
|
|
@ -20,9 +20,7 @@ Using an invalid method results in HTTP error 405 "Method Not Allowed".
|
|||
|
||||
### Authentication
|
||||
|
||||
Friendica supports basic HTTP Auth and OAuth 1 to authenticate the user to the APIs.
|
||||
|
||||
OAuth settings can be added by the user in web UI under [/settings/oauth/](/settings/oauth/).
|
||||
Friendica supports basic HTTP Auth and OAuth to authenticate the user to the APIs.
|
||||
|
||||
### Errors
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue