PeerTube · Example Payload

Getoauthclient

You need to retrieve a client id and secret before [logging in](#operation/getOAuthToken).

Session

Getoauthclient is an example object payload from PeerTube, with 9 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummarydescriptiontagsparametersrequestBodyresponses

Example Payload

Raw ↑
{
  "operationId": "getOAuthClient",
  "method": "GET",
  "path": "/api/v1/oauth-clients/local",
  "summary": "Login prerequisite",
  "description": "You need to retrieve a client id and secret before [logging in](#operation/getOAuthToken).",
  "tags": [
    "Session"
  ],
  "parameters": [],
  "requestBody": null,
  "responses": {
    "200": {
      "description": "successful operation",
      "examples": {}
    }
  }
}