get/api/v1/assemblies/{id}

Request

  • Base URL
    https://app.onecodex.com
  • URL
    https://app.onecodex.com/api/v1/assemblies/{id}
  • Auth
    API key in header X-API-Key

Path parameters

idstring required

Response

OK

$uristring required
created_atstring date-time required

Timestamp for when the object was created on the One Codex platform, encoded as a RFC 3339 timestamp.

filenamestring nullable required
sizeinteger nullable required
visibility'public' | 'shared' | 'private' | 'importing' | 'awaiting data' required

Enum for the v1 API visibility attribute.

Note: this is legacy and only exists for backwards-compatibility in the public v1 API.

Example response

{
  "$uri": "/api/v1/assemblies/0d77065796f8d173",
  "genome": {
    "__DOLLAR_REF__": "/api/v1/genomes/a1b2c3d4e5f67890"
  },
  "input_samples": [
    {
      "__DOLLAR_REF__": "/api/v1/samples/a1b2c3d4e5f67890"
    }
  ],
  "job": {
    "__DOLLAR_REF__": "/api/v1/jobs/a1b2c3d4e5f67890"
  },
  "owner": {
    "__DOLLAR_REF__": "/api/v1/users/a1b2c3d4e5f67890"
  },
  "primary_annotation_set": {
    "__DOLLAR_REF__": "/api/v1/annotation_sets/a1b2c3d4e5f67890"
  }
}

Changes