feat: officially deprecate APIv1

This commit is contained in:
spiral 2021-11-07 12:43:59 -05:00
parent c9e2425a67
commit 3979cdd95a
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31
3 changed files with 2 additions and 6 deletions

View File

@ -5,6 +5,8 @@ permalink: /api/changelog
# Version history # Version history
* 2021-11-07 (v2)
* API v2 has been released. API v1 is now deprecated.
* 2020-07-28 * 2020-07-28
* The unversioned API endpoints have been removed. * The unversioned API endpoints have been removed.
* 2020-06-17 (v1.1) * 2020-06-17 (v1.1)

View File

@ -4,10 +4,8 @@ permalink: /api/legacy
--- ---
# Legacy API documentation # Legacy API documentation
<!--
::: warning ::: warning
This is the documentation for v1 of the PluralKit API. Please use v2 going forwards - v1 is deprecated and will be removed eventually. This is the documentation for v1 of the PluralKit API. Please use v2 going forwards - v1 is deprecated and will be removed eventually.
::: -->
## Models ## Models
The following three models (usually represented in JSON format) represent the various objects in PluralKit's API. The following three models (usually represented in JSON format) represent the various objects in PluralKit's API.

View File

@ -8,10 +8,6 @@ permalink: /api
PluralKit has a basic HTTP REST API for querying and modifying your system. PluralKit has a basic HTTP REST API for querying and modifying your system.
The root endpoint of the API is `https://api.pluralkit.me/v2/`. The root endpoint of the API is `https://api.pluralkit.me/v2/`.
::: warning
This documentation is currently pre-release. Until this notice is removed, please refer to the [legacy API documentation](/api/legacy) for model and endpoint information.
:::
#### Authorization header token example #### Authorization header token example
``` ```
Authorization: z865MC7JNhLtZuSq1NXQYVe+FgZJHBfeBCXOPYYRwH4liDCDrsd7zdOuR45mX257 Authorization: z865MC7JNhLtZuSq1NXQYVe+FgZJHBfeBCXOPYYRwH4liDCDrsd7zdOuR45mX257