anchor.diff:  include::{snippets}/page-example/curl-request.adoc[]
   include::{snippets}/page-example/http-response.adoc[]
   
  -=== Response structure
  +===== Response structure
   
   include::{snippets}/page-example/response-fields.adoc[]
   
  -=== Links
  +===== Links
   
   include::{snippets}/page-example/links.adoc[]
   
  -
  -== Conditional requests
  +=== Individual resources
  +
  +==== Detailed representations
  +
  +When fetching an individual resource, the response typically includes all attributes for that resource.
  +Nested resources are typically not included by default.
  +
  +Example: When you fetch an individual sample, you get the detailed representation.
  +
  +include::{snippets}/samples/fetch-one/curl-request.adoc[]
  +include::{snippets}/samples/fetch-one/http-response.adoc[]
  +
  +==== Conditional requests
   
   Most individual resources have entity tags and modification timestamps. This can be used to
   make conditional requests, allowing clients to minimise bandwidth use and avoiding collisions with other
  
positive.code: All API access is over HTTP, and accessed from `http://www.ebi.ac.uk/submissions/api`.
  All data is sent and received as JSON. Blank fields are included as `null` instead of being omitted.
  
  
  
  == Summary representations
  
  When fetching a list of resources, the response includes a subset of the attributes for that resource.
  For performance reasons some attributes are excluded from the summary representation.
  These are available from the detailed representation.
  
  Example: When you get a list of samples, you get the summary representation of each sample.
  
  include::{snippets}/samples/by-submission/curl-request.adoc[]
  include::{snippets}/samples/by-submission/http-response.adoc[]
  
  == Detailed representations
  
  When fetching an individual resource, the response typically includes all attributes for that resource.
  Nested resources are typically not included by default.
  
  Example: When you fetch an individual sample, you get the detailed representation.
  
  include::{snippets}/samples/fetch-one/curl-request.adoc[]
  include::{snippets}/samples/fetch-one/http-response.adoc[]
  
  == Root endpoint
  
  You can issue a `GET` request to the root endpoint to get all the endpoint categories supported  by the API.
  
  include::{snippets}/root-endpoint/curl-request.adoc[]
  include::{snippets}/root-endpoint/http-response.adoc[]
  
  == Client errors
  
  There are several types of client errors on API calls that receive request bodies.
  
  
negative.code: 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  == Accessing submissions for a domain
  
  === Request structure
  