GET
/
sources
curl --request GET \
  --url https://api.sandbox.isometric.com/mrv/v0/sources \
  --header 'Authorization: Bearer <token>' \
  --header 'x-client-secret: <x-client-secret>'
{
  "nodes": [
    {
      "display_name": "<string>",
      "id": "src_1EBBF4M7X1S06G1Y",
      "is_public": true,
      "published_at": "2023-12-25",
      "supplier_reference_id": "<string>",
      "type": "DOCUMENT",
      "url_info": {
        "__typename": "SourcePublicUrlInfo",
        "url": "<string>"
      }
    }
  ],
  "page_info": {
    "end_cursor": "<string>",
    "has_next_page": true,
    "has_previous_page": true,
    "start_cursor": "<string>"
  },
  "total_count": 123
}

Authorizations

Authorization
string
header
required

A JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>

Headers

x-client-secret
string
required

A secret token identifying the client connecting to the API

Example:

"Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP"

Query Parameters

supplier_reference_id
string | null
last
integer
default:
10

An integer number of items to retrieve before the item represented by the cursor passed in the before parameter. Defaults to 10 with a maximum value of 50.

Required range: 0 < x <= 50
before
string | null

An opaque cursor representing the first item in the previously requested page to select items ordered before it. Submit the previously requested page’s start_cursor here when paginated backwards.

Minimum length: 1
first
integer
default:
10

An integer number of items to retrieve after the item represented by the cursor passed in the after parameter. Defaults to 10 with a maximum value of 50.

Required range: 0 < x <= 50
after
string | null

An opaque cursor representing the last item in the previously requested page to select items ordered after it. Submit the previously requested page’s end_cursor here when paginated forwards.

Minimum length: 1

Response

200
application/json
Successful Response
nodes
object[]
required
page_info
object
required
total_count
integer
required

Was this page helpful?