Verificatietoken ophalen retrieve-authentication-token

NOTE
De inhoud op deze pagina wordt alleen ter informatie verstrekt. Voor het gebruik van deze API is een huidige licentie van Adobe vereist. Ongeautoriseerd gebruik is niet toegestaan.
NOTE
REST API-implementatie is beperkt door Draaimechanisme

REST API-eindpunten clientless-endpoints

<reggie_fqdn>:

<sp_fqdn>:

Beschrijving description

Hiermee wordt het verificatietoken (AuthN) opgehaald.

Endpoint
Geroepen
Door
Invoer
Params
HTTP
Methode
Antwoord
HTTP
Antwoord
<sp_fqdn>/api/v1/tokens/authoring

Bijvoorbeeld:

<sp_fqdn>/api/v1/tokens/authoring
Streaming-app

of

Programmeringsservice
1. Aanvrager (verplicht)
2. deviceId (verplicht)
3. device_info/X-Device-Info (verplicht)
4. deviceType (Afgekeurd)
5. deviceUser (Verouderd)
6. appId (Verouderd)
GET
XML of JSON met verificatiegegevens of foutdetails als dit mislukt.
200 - Geslaagd.
404 - token niet gevonden
410 - token verlopen
Invoerparameter
Beschrijving
aanvrager
De programmeeraanvragerId waarvoor deze verrichting geldig is.
deviceId
Het apparaat-id bytes.
device_info/

X-Apparaat-Info
Informatie over streaming apparaat.

Opmerking: This MAY BE passed device_info as a URL parameter, but due to the potential size of this parameter and constraints on the length of a GET URL, it should be passed as X-Device-Info in the http header.
\ .
deviceType
Het apparaattype (bijvoorbeeld Roku, PC).

Opmerking: device_info vervangt deze parameter.
deviceUser
De gebruikers-id van het apparaat.

Opmerking: Indien gebruikt, moet deviceUser dezelfde waarden hebben als in het dialoogvenster Registratiecode maken verzoek.
appId
De toepassings-id/-naam.

Opmerking: device_info vervangt deze parameter. Indien gebruikt, appId moeten dezelfde waarden hebben als in de Registratiecode maken verzoek.

Samplereactie response

Succes

XML:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <authentication>
         <expires>1601114932000</expires>
         <userId>sampleUserId</userId>
         <mvpd>sampleMvpdId</mvpd>
         <requestor>sampleRequestor</requestor>
    </authentication>

JSON:

    {
         "requestor": "sampleRequestor",
         "mvpd": "sampleMvpdId",
         "userId": "sampleUserId",
         "expires": "1601114932000"
    }

Verificatietoken niet gevonden:

XML:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <error>
        <status>404</status>
        <message>Not found</message>
    </error>

JSON:

    {
        "status": 404,
        "message": "Not Found"
    }
recommendation-more-help
3f5e655c-af63-48cc-9769-2b6803cc5f4b