harvest

Preview a single harvest source given an ID or a slug

get/harvest/source/{ident}/preview

Request

  • Base URL
    https://data.public.lu/api/1
  • URL
    https://data.public.lu/api/1/harvest/source/{ident}/preview
  • Auth
    none declared

Headers

X-Fieldsstring mask

An optional fields mask

Response

Success

createdstring date-time required

The job creation date

endedstring date-time

The job end date

idstring required

The job execution ID

sourcestring required

The source owning the job

startedstring date-time

The job start date

status'pending' | 'initializing' | 'initialized' | 'processing' | 'done' | 'done-errors' | 'failed' required

The job status

Example response

{
  "items": [
    {
      "dataservice": {
        "format": "REST",
        "title": "My awesome API"
      },
      "dataset": {
        "community_resources": [
          {
            "checksum": {
              "type": "sha1"
            },
            "filetype": "file",
            "type": "main"
          }
        ],
        "frequency": "unknown",
        "resources": [
          {
            "checksum": {
              "type": "sha1"
            },
            "filetype": "file",
            "type": "main"
          }
        ],
        "spatial": {
          "geom": {
            "type": "Point"
          }
        }
      },
      "status": "pending"
    }
  ],
  "status": "pending"
}

Changes

No recorded changes to this operation across all 20 revisions of this API.