Stream

Get a stream ticket

A ticket for one GET /stream/changes?ticket=<ticket>, for a browser EventSource, which cannot send the token in a header. It works once, within 60 seconds, and only on the stream; the stream then checks the token that made it, as for a Bearer call. Never put your API token in a URL; a ticket is made to go there.

post/stream/tickets

Request

  • Base URL
    https://gorest.co.in/public/v3
  • URL
    https://gorest.co.in/public/v3/stream/tickets
  • Auth
    HTTP bearer

Response

The ticket. It is shown once and never stored in plain form.

expires_atstring date-time required

The ticket does not work after this, 60 seconds from now.

ticketstring required

For ?ticket= on GET /stream/changes, once.

Changes

No recorded changes to this operation across all 1 revision of this API.