v1

latestOpenAPI 3.0.12026-07-24110189356.6 KB
publish

Upload partitions

Upload partitions to the given layer. Dependending on the publication type, post processing may be required before the partitions are published. For better performance batch your partitions (e.g. 10000 per request), rather than uploading them individually.

post/layers/{layerId}/publications/{publicationId}/partitions

Path parameters

layerIdstring required

The ID of the layer to publish to.

publicationIdstring required

The ID of publication to publish to.

Query parameters

billingTagstring

Billing Tag is an optional free-form tag which is used for grouping billing records together. If supplied, it must be between 4 - 16 characters and contain only alphanumeric ASCII characters [A-Za-z0-9]. Grouping billing records by billing tag will be available in future releases.

Request body

Example request

{
  "partitions": [
    {
      "partition": "314010583",
      "checksum": "ff7494d6f17da702862e550c907c0a91",
      "compressedDataSize": 152417,
      "dataSize": 250110,
      "data": "c3RyZWFtIGxheWVyIHBheWxvYWQ=",
      "dataHandle": "1b2ca68f-d4a0-4379-8120-cd025640510c",
      "timestamp": 1648139982000,
      "crc": "c3f276d7"
    }
  ]
}

Response

Partitions successfully submitted.