Streams

Create Stream with API Key Authentication

Changed on

Handle create stream and signature request

post/v2/streams/

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

customArgsunknown
endTimestampstring date-time nullable
pointIdstring uuid nullable
rewardTokenIdstring uuid nullable
startTimestampstring date-time
totalAmountstring nullable
typeinteger
walletAddressstring nullable

Example request

{
  "pointId": "248df4b7-aa70-47b8-a036-33ac447e668d",
  "rewardTokenId": "248df4b7-aa70-47b8-a036-33ac447e668d"
}

Response

OK

messagestring

Example response

{
  "stream": {
    "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
    "orgId": "248df4b7-aa70-47b8-a036-33ac447e668d",
    "point": {
      "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
      "orgId": "248df4b7-aa70-47b8-a036-33ac447e668d"
    },
    "rewardToken": {
      "id": "248df4b7-aa70-47b8-a036-33ac447e668d"
    },
    "userId": "248df4b7-aa70-47b8-a036-33ac447e668d"
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status