Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Operation

Information of the operation

GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/channel


Request


PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter0Unique identificator of the chain.
offsetIntegerfalserequest parameter0Offset of the array of results.
limitIntegerfalserequest parameter10Limit of results.
sortstringfalserequest parameteridProperty of the entity to sort by.
sortModestringfalserequest parameterascMode of sorting.

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/source


Response

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

Entity



FieldTypeRequiredDescription
idinttrueId of the ChainSource
codestringtrueCode of the ChainSource
namestringtrueName of the ChainSource
orderinttrueOrder of the ChainSource
chainSourceGroupIdinttrueChainSource Group Id

Example response

{
  "count": 10,
  "offset": 0,
  "limit": 10,
  "list": [
    {
      "id": 2,
      "code": "OTA",
      "name": "Online Travel Agency"
    },
    {
      "id": 8,
      "code": "CS2",
      "name": "ChainSource 2"
    },
    {
      "id": 14,
      "code": "CS3",
      "name": "ChainSource 3"
    },
    {
      "id": 20,
      "code": "CS4",
      "name": "ChainSource 4"
    },
    {
      "id": 26,
      "code": "CS5",
      "name": "ChainSource 5"
    },
    {
      "id": 32,
      "code": "CS6",
      "name": "ChainSource 6"
    },
    {
      "id": 38,
      "code": "CS7",
      "name": "ChainSource 7"
    },
    {
      "id": 44,
      "code": "CS8",
      "name": "ChainSource 8"
    },
    {
      "id": 50,
      "code": "CS9",
      "name": "ChainSource 9"
    },
    {
      "id": 56,
      "code": "CS10",
      "name": "ChainSource 10"
    }
  ]
}
  • No labels