latestOpenAPI 3.0.02026-08-0819201.1 MB

411f9f98c01e

data samples

Returns the specified data-sample.

You have to be workspace's member which the data-sample is belonged to.

get/data-samples/{datasample_id}

Path parameters

datasample_idstring required

Data-sample identifier

Response

OK

metaobject required

Example response

{
  "data": {
    "id": "5b4f337bff4304610483ba67",
    "links": {
      "self": "/v2/data-samples/5b4f337bff4304610483ba67"
    },
    "attributes": {
      "method": "createOrUpdateRecord"
    },
    "relationships": {
      "component": {
        "data": {
          "id": "5b4f337bff4304610483ba67"
        },
        "links": {
          "self": "/v2/components/5b4f337bff4304610483ba67"
        }
      },
      "component_version": {
        "data": {
          "id": "latest"
        },
        "links": {
          "self": "/v2/components/5b4f337bff4304610483ba67/versions/latest"
        }
      },
      "workspace": {
        "data": {
          "id": "5b4f337bff4304610483ba67"
        },
        "links": {
          "self": "/v2/workspaces/5b4f337bff4304610483ba67"
        }
      },
      "user": {
        "data": {
          "id": "5b4f337bff4304610483ba67"
        },
        "links": {
          "self": "/v2/users/5b4f337bff4304610483ba67"
        }
      }
    }
  }
}