Gotipath Docs
Stream
  • Documention
  • API Reference
CDN
  • Documention
  • API Reference
Stream
  • Documention
  • API Reference
CDN
  • Documention
  • API Reference
  1. API Reference
  • Getting Started
  • Manage Videos
    • Uploader SDKs
    • Create Video
      POST
    • List Videos
      GET
    • Get Video details
      GET
    • Video delete
      DELETE
    • Update
      PUT
    • Pull Video
      POST
  • Manage Collection
    • Create Collection
      POST
    • Collection List
      GET
    • Show
      GET
    • update
      PUT
    • Delete
      DELETE
  • Multipart Upload
    • Create parts of the original video
      POST
    • Get Presign URL
      GET
    • SignPartUpload
      PUT
    • List parts
      GET
    • Complete Multipart Upload
      POST
    • AbortMultipartUpload
      DELETE
  • Manage Tags
    • Create New Tags
      POST
    • Get All Tags
      GET
  • Manage Livestream
    • Create New Livestream
      POST
    • Delete Live stream
      DELETE
    • Livestream make ban
      PATCH
    • Livestream make unban
      PATCH
    • Get all livestream
      GET
    • Players details
      GET
    • Livestream history
      GET
    • Livestream details
      GET
  • Notifications
    • Webhook notification logs
    • Webhook notification Resend
  • Manage Security Settings
    • Add Access control
    • Get Access control
  1. API Reference

Getting Started

Introduction#

Our API has predictable, resource-oriented URLs and uses HTTP response codes to indicate API errors. We use built-in HTTP features, such as HTTP authentication and HTTP terminology, which can be understood by HTTP clients. JSON will be returned in all responses from the API, including errors.

Requests#

Any tool that is fluent in HTTP can communicate with the API simply by requesting the correct URI. Requests should be made using the HTTPS protocol so that traffic is encrypted. The interface responds to different methods depending on the action required.
The maximum API body request size is 50 MB.
MethodUsage
GETRetrieve information (read-only)
DELETEDestroy a resource and remove it
PUTUpdate information about a resource
PATCHPartial modification of supported resources
POSTCreate a new object with specified attributes

Responses#

The API uses HTTP response codes to show success or failure of an API request. In general, 2xx codes indicate success, 4xx codes indicate an error that resulted from the provided information (e.g. a required parameter is missing or invalid, etc.), and codes in the 5xx range indicate an error connected with our servers.

HTTP Statuses#

Along with the HTTP methods that the API responds to, it will also return standard HTTP statuses, including error codes.
In the event of a problem, the status will contain the error code, while the body of the response will usually contain additional information about the problem that was encountered.
CodeDescription
2xxOK — Request has been completed successfully.
400Bad Request — Required parameter is missing.
401Unauthorized — Provided credentials are invalid or your API token has expired.
403Forbidden — Access denied. You do not have enough rights.
404Not Found — Requested item doesn't exist.
429Too Many Requests — You have exceeded the number of allowed requests for your resources.
503Service Unavailable — You have made a mistake in request parameters or the service is currently unavailable.
500, 502, 504Server errors — Something went wrong on our end.

Authentication#

In order to interact with the Gotipath Stream API, you need to have a registered account. Sign up if you don't have one.
The majority of methods require an API X-Auth-ClientId, X-Auth-LibraryId, X-Auth-ApiKey in the Request header. These are unique keys that all users and applications should add to requests in order to interact with our services.
FieldDescription
X-Auth-ClientIdGet Client ID from your stream library
X-Auth-LibraryIdGet Library ID from your stream Library
X-Auth-ApiKeyGet API Key from your stream library

Request example:


📌
Rate limit
The general limit is set at 60 requests per second. If you exceed this rate limit, you will receive a notification. If any special requirements necessitate a higher rate limit, please reach out to our support team for assistance.
Modified at 2023-11-22 13:09:24
Next
Uploader SDKs
Built with