Akamai

Akamai: Media Services Live Stream Provisioning API

Akamai: Media Services Live Stream Provisioning API endpoints from Akamai

Developer tools#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Akamai: Media Services Live Stream Provisioning API endpoints from Akamai

Endpoints 18

CDNs

  • GETList CDNs/msl-origin/cdns?accountSwitchKey={{accountSwitchKey}}Fetch predefined list of CDN providers. You can configure your MSL origin to include multiple CDN providers.

Contracts

  • GETList contracts/msl-origin/contracts?accountSwitchKey={{accountSwitchKey}}Fetch MSL contracts.

CP codes

  • GETList CP codes/msl-origin/cpcodes?unused={{unused}}&type={{type}}&accountSwitchKey={{accountSwitchKey}}Obtains the CP code based on the type. You need a CP code to create a stream.
  • POSTCreate a CP code/msl-origin/cpcodes?accountSwitchKey={{accountSwitchKey}}Creates a new MSL CP code. You need a CP code to create a stream or an origin.

Keys

  • GETGenerate a key/msl-origin/generate-key?type={{type}}&accountSwitchKey={{accountSwitchKey}}Specify either an AKAMAI or THIRD_PARTY key format.

Origins

  • GETList live origins/msl-origin/origins?encoderLocation={{encoderLocation}}&cpcode={{cpcode}}&accountSwitchKey={{accountSwitchKey}}Retrieves a list of all live origins associated with the profile by default, or optionally filtered live origins.
  • POSTCreate a new origin/msl-origin/origins?accountSwitchKey={{accountSwitchKey}}Create a Media Services live origin for the stream. You can associate this origin hostname with an Adaptive Media Delivery configuration.
  • GETList CP codes per origin/msl-origin/origins/cpcodes?type={{type}}&accountSwitchKey={{accountSwitchKey}}Fetches available CP codes for a new origin.
  • GETGet an origin/msl-origin/origins/:originId?accountSwitchKey={{accountSwitchKey}}Retrieves detailed information about the requested origin.
  • PUTUpdate an origin/msl-origin/origins/:originId?accountSwitchKey={{accountSwitchKey}}Updates certain fields of the origin. You can also use this API to rotate keys. Populate previousKey and previousKeyExpiryDate fields if you need your old…
  • DELETERemove an origin/msl-origin/origins/:originId?accountSwitchKey={{accountSwitchKey}}Deletes the specified origin.

Publishing locations

  • GETList publishing locations/msl-origin/publishing-locations?accountSwitchKey={{accountSwitchKey}}Get valid encoder locations.

Streams

  • GETList streams/msl-origin/streams?page={{page}}&pageSize={{pageSize}}&sortKey={{sortKey}}&sortOrder={{sortOrder}}&accountSwitchKey={{accountSwitchKey}}Retrieves a list of all streams available to a user. Supports optional URL Parameters for pagination and sorting of the results.
  • POSTCreate a stream/msl-origin/streams?cloneInternalSettingsFromStreamId={{cloneInternalSettingsFromStreamId}}&accountSwitchKey={{accountSwitchKey}}Provisions a new stream. To create an ingest stream using Media Services Live 4, you need to: Set up an ingest for the stream Set up an archive for the…
  • GETGet a stream/msl-origin/streams/:streamId?accountSwitchKey={{accountSwitchKey}}Retrieves detailed information about the requested stream.
  • PUTUpdate a stream/msl-origin/streams/:streamId?accountSwitchKey={{accountSwitchKey}}Modifies an existing stream. The request body object must be identical in structure to the Get Stream Details response object. You can edit the name,…
  • DELETERemove a stream/msl-origin/streams/:streamId?purgeContent={{purgeContent}}&accountSwitchKey={{accountSwitchKey}}Deletes the specified stream. If you delete an archived stream, but set purgeContent=false the stream will be permanently deleted, but any archived content…

VOD origins

  • GETList VOD origins/msl-origin/vod-origin?encoderLocation={{encoderLocation}}&accountSwitchKey={{accountSwitchKey}}List all of the VOD origins.

API details

Base URL
https://{hostname}/config-media-live/v2
Authentication
None declared in the description
Operations
18 operations on 11 pathsGET 11POST 3PUT 2DELETE 2
Main resources
Origins 6Streams 5CP codes 2CDNs 1Contracts 1Keys 1Publishing locations 1VOD origins 1
Response formats
application/json application/problem+json */*
Description format
OpenAPI 3.0.0, API version 2

How to test the Akamai: Media Services Live Stream Provisioning API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Akamai: Media Services Live Stream Provisioning API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “List CDNs” (GET /msl-origin/cdns?accountSwitchKey={{accountSwitchKey}}), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Akamai: Media Services Live Stream Provisioning API?

Akamai: Media Services Live Stream Provisioning API endpoints from Akamai It is listed under Developer tools and has 18 endpoints.

Who publishes the Akamai: Media Services Live Stream Provisioning API?

It is listed from Akamai's public API description (an OpenAPI document), not published by Akamai on Swastik Codes. Anyone who controls akamai.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Akamai: Media Services Live Stream Provisioning API?

Requests go to https://{hostname}/config-media-live/v2. Endpoint paths are added to this base URL.

How do I authenticate with the Akamai: Media Services Live Stream Provisioning API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the Akamai: Media Services Live Stream Provisioning API have?

18 operations on 11 paths (11 GET, 3 POST, 2 PUT, 2 DELETE). The largest groups are Origins, Streams, CP codes, CDNs.

Is forking the Akamai: Media Services Live Stream Provisioning API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.