{ "opencollection": "1.0.0", "info": { "name": "Livepeer API Reference accessControl API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "accessControl", "type": "folder" }, "items": [ { "info": { "name": "Retrieves signing keys", "type": "http" }, "http": { "method": "GET", "url": "https://livepeer.studio/api/access-control/signing-key" }, "docs": "Retrieves signing keys" }, { "info": { "name": "Create a signing key", "type": "http" }, "http": { "method": "POST", "url": "https://livepeer.studio/api/access-control/signing-key" }, "docs": "The publicKey is a representation of the public key, encoded as base 64 and is passed as a string, and the privateKey is displayed only on creation. This is the only moment where the client can save the private key, otherwise it will be lost. Remember to decode your string when signing JWTs.\nUp to 10 signing keys can be generated, after that you must delete at least one signing key to create a new one.\n" }, { "info": { "name": "Retrieves a signing key", "type": "http" }, "http": { "method": "GET", "url": "https://livepeer.studio/api/access-control/signing-key/:keyId", "params": [ { "name": "keyId", "value": "", "type": "path", "description": "ID of the signing key" } ] }, "docs": "Retrieves a signing key" }, { "info": { "name": "Update a signing key", "type": "http" }, "http": { "method": "PATCH", "url": "https://livepeer.studio/api/access-control/signing-key/:keyId", "params": [ { "name": "keyId", "value": "", "type": "path", "description": "ID of the signing key" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a signing key" }, { "info": { "name": "Delete Signing Key", "type": "http" }, "http": { "method": "DELETE", "url": "https://livepeer.studio/api/access-control/signing-key/:keyId", "params": [ { "name": "keyId", "value": "", "type": "path", "description": "ID of the signing key" } ] }, "docs": "Delete Signing Key" } ] } ], "bundled": true }