harvest
Harvest related operations
Dernière mise à jour
Cet article vous a-t-il été utile ?
Harvest related operations
Dernière mise à jour
Cet article vous a-t-il été utile ?
A source ID or slug
An optional fields mask
Success
The page to fetch
The page size to fetch
The organization or user ID to filter on
Include sources flaggued as deleted
An optional fields mask
Success
curl -L \
--url 'http://www.data.gouv.fr/api/1/harvest/backends'
{
"extra_configs": [
{
"default": "text",
"description": "text",
"key": "text",
"label": "text"
}
],
"features": [
{
"default": "text",
"description": "text",
"key": "text",
"label": "text"
}
],
"filters": [
{
"description": "text",
"key": "text",
"label": "text",
"type": "text"
}
],
"id": "text",
"label": "text"
}
curl -L \
--url 'http://www.data.gouv.fr/api/1/harvest/job/{ident}/'
{
"created": "2025-03-25T04:04:05.785Z",
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"id": "text",
"items": [
{
"args": [
"text"
],
"created": "2025-03-25T04:04:05.785Z",
"dataservice": {
"access_type": "open",
"acronym": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"authorization_request_url": "text",
"availability": "99.99",
"availability_url": "text",
"base_api_url": "text",
"business_documentation_url": "text",
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"datasets": {},
"deleted_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"format": "REST",
"harvest": {
"archived_at": "2025-03-25T04:04:05.785Z",
"archived_reason": "text",
"backend": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"domain": "text",
"id": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"source_url": "text",
"uri": "text"
},
"id": "text",
"license": "text",
"machine_documentation_url": "text",
"metadata_modified_at": "2025-03-25T04:04:05.785Z",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"private": true,
"rate_limiting": "text",
"rate_limiting_url": "text",
"self_api_url": "text",
"self_web_url": "text",
"slug": "text",
"tags": [
"text"
],
"technical_documentation_url": "text",
"title": "My awesome API"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"kwargs": {},
"logs": [
{
"level": "text",
"message": "text"
}
],
"remote_id": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"source": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
curl -L \
--url 'http://www.data.gouv.fr/api/1/harvest/job_status'
[
"text"
]
An optional fields mask
Is this source active
If enabled, datasets not present on the remote source will be automatically archived
The source backend
csw-dcat
csw-dcat
, csw-iso-19139
, dcat
, ckan
, dkan
, maaf
The configuration as key-value pairs
The source creation date
The source deletion date
The source description
The source unique identifier
The last job for this source
The source display name
The producer organization
The owner information
The source schedule (interval or cron expression)
The source base URL
Has the source been validated
curl -L \
--request POST \
--url 'http://www.data.gouv.fr/api/1/harvest/source/preview' \
--header 'Content-Type: application/json' \
--data '{
"active": true,
"autoarchive": true,
"backend": "csw-dcat",
"config": {},
"description": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"url": "text"
}'
{
"created": "2025-03-25T04:04:05.785Z",
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"id": "text",
"items": [
{
"args": [
"text"
],
"created": "2025-03-25T04:04:05.785Z",
"dataservice": {
"access_type": "open",
"acronym": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"authorization_request_url": "text",
"availability": "99.99",
"availability_url": "text",
"base_api_url": "text",
"business_documentation_url": "text",
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"datasets": {},
"deleted_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"format": "REST",
"harvest": {
"archived_at": "2025-03-25T04:04:05.785Z",
"archived_reason": "text",
"backend": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"domain": "text",
"id": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"source_url": "text",
"uri": "text"
},
"id": "text",
"license": "text",
"machine_documentation_url": "text",
"metadata_modified_at": "2025-03-25T04:04:05.785Z",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"private": true,
"rate_limiting": "text",
"rate_limiting_url": "text",
"self_api_url": "text",
"self_web_url": "text",
"slug": "text",
"tags": [
"text"
],
"technical_documentation_url": "text",
"title": "My awesome API"
},
"dataset": {
"acronym": "text",
"archived": "2025-03-25T04:04:05.785Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"filesize": 1,
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2025-03-25T04:04:05.785Z",
"modified_at": "2025-03-25T04:04:05.785Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2025-03-25T04:04:05.785Z",
"last_modified_internal": "2025-03-25T04:04:05.785Z"
},
"last_modified": "2025-03-25T04:04:05.785Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"title": "text",
"type": "main",
"url": "text",
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
],
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"deleted": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"featured": true,
"frequency": "unknown",
"frequency_date": "2025-03-25T04:04:05.785Z",
"harvest": {
"archived": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"modified_at": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2025-03-25T04:04:05.785Z",
"last_modified_internal": "2025-03-25T04:04:05.785Z"
},
"last_modified": "2025-03-25T04:04:05.785Z",
"last_update": "2025-03-25T04:04:05.785Z",
"license": "text",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"page": "text",
"private": true,
"quality": {},
"resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"filesize": 1,
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2025-03-25T04:04:05.785Z",
"modified_at": "2025-03-25T04:04:05.785Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2025-03-25T04:04:05.785Z",
"last_modified_internal": "2025-03-25T04:04:05.785Z"
},
"last_modified": "2025-03-25T04:04:05.785Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"title": "text",
"type": "main",
"url": "text"
}
],
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"slug": "text",
"spatial": {
"geom": {
"coordinates": [
{}
],
"type": "Point"
},
"granularity": "text",
"zones": [
"text"
]
},
"tags": [
"text"
],
"temporal_coverage": {
"end": "2025-03-25T04:04:05.785Z",
"start": "2025-03-25T04:04:05.785Z"
},
"title": "text",
"uri": "text"
},
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"kwargs": {},
"logs": [
{
"level": "text",
"message": "text"
}
],
"remote_id": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"source": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
Success
curl -L \
--url 'http://www.data.gouv.fr/api/1/harvest/source/{ident}'
{
"active": true,
"autoarchive": true,
"backend": "csw-dcat",
"config": {},
"created_at": "2025-03-25T04:04:05.785Z",
"deleted": "2025-03-25T04:04:05.785Z",
"description": "text",
"id": "text",
"last_job": {
"created": "2025-03-25T04:04:05.785Z",
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"id": "text",
"items": [
{
"args": [
"text"
],
"created": "2025-03-25T04:04:05.785Z",
"dataservice": {
"access_type": "open",
"acronym": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"authorization_request_url": "text",
"availability": "99.99",
"availability_url": "text",
"base_api_url": "text",
"business_documentation_url": "text",
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"datasets": {},
"deleted_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"format": "REST",
"harvest": {
"archived_at": "2025-03-25T04:04:05.785Z",
"archived_reason": "text",
"backend": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"domain": "text",
"id": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"source_url": "text",
"uri": "text"
},
"id": "text",
"license": "text",
"machine_documentation_url": "text",
"metadata_modified_at": "2025-03-25T04:04:05.785Z",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"private": true,
"rate_limiting": "text",
"rate_limiting_url": "text",
"self_api_url": "text",
"self_web_url": "text",
"slug": "text",
"tags": [
"text"
],
"technical_documentation_url": "text",
"title": "My awesome API"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"kwargs": {},
"logs": [
{
"level": "text",
"message": "text"
}
],
"remote_id": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"source": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
},
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schedule": "text",
"url": "text",
"validation": {
"by": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"comment": "text",
"on": "2025-03-25T04:04:05.785Z",
"state": "pending"
}
}
A source ID or slug
An optional fields mask
Is this source active
If enabled, datasets not present on the remote source will be automatically archived
The source backend
csw-dcat
csw-dcat
, csw-iso-19139
, dcat
, ckan
, dkan
, maaf
The configuration as key-value pairs
The source creation date
The source deletion date
The source description
The source unique identifier
The last job for this source
The source display name
The producer organization
The owner information
The source schedule (interval or cron expression)
The source base URL
Has the source been validated
curl -L \
--request PUT \
--url 'http://www.data.gouv.fr/api/1/harvest/source/{ident}' \
--header 'Content-Type: application/json' \
--data '{
"active": true,
"autoarchive": true,
"backend": "csw-dcat",
"config": {},
"description": "text",
"last_job": {
"created": "2025-03-25T04:04:05.785Z",
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"id": "text",
"items": [
{
"args": [
"text"
],
"created": "2025-03-25T04:04:05.785Z",
"dataservice": {
"access_type": "open",
"acronym": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"authorization_request_url": "text",
"availability": "99.99",
"availability_url": "text",
"base_api_url": "text",
"business_documentation_url": "text",
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"datasets": {},
"deleted_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"format": "REST",
"harvest": {
"archived_at": "2025-03-25T04:04:05.785Z",
"archived_reason": "text",
"backend": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"domain": "text",
"id": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"source_url": "text",
"uri": "text"
},
"id": "text",
"license": "text",
"machine_documentation_url": "text",
"metadata_modified_at": "2025-03-25T04:04:05.785Z",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"private": true,
"rate_limiting": "text",
"rate_limiting_url": "text",
"self_api_url": "text",
"self_web_url": "text",
"slug": "text",
"tags": [
"text"
],
"technical_documentation_url": "text",
"title": "My awesome API"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"kwargs": {},
"logs": [
{
"level": "text",
"message": "text"
}
],
"remote_id": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"source": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
},
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"url": "text",
"validation": {
"by": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"comment": "text",
"on": "2025-03-25T04:04:05.785Z",
"state": "pending"
}
}'
{
"active": true,
"autoarchive": true,
"backend": "csw-dcat",
"config": {},
"created_at": "2025-03-25T04:04:05.785Z",
"deleted": "2025-03-25T04:04:05.785Z",
"description": "text",
"id": "text",
"last_job": {
"created": "2025-03-25T04:04:05.785Z",
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"id": "text",
"items": [
{
"args": [
"text"
],
"created": "2025-03-25T04:04:05.785Z",
"dataservice": {
"access_type": "open",
"acronym": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"authorization_request_url": "text",
"availability": "99.99",
"availability_url": "text",
"base_api_url": "text",
"business_documentation_url": "text",
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"datasets": {},
"deleted_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"format": "REST",
"harvest": {
"archived_at": "2025-03-25T04:04:05.785Z",
"archived_reason": "text",
"backend": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"domain": "text",
"id": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"source_url": "text",
"uri": "text"
},
"id": "text",
"license": "text",
"machine_documentation_url": "text",
"metadata_modified_at": "2025-03-25T04:04:05.785Z",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"private": true,
"rate_limiting": "text",
"rate_limiting_url": "text",
"self_api_url": "text",
"self_web_url": "text",
"slug": "text",
"tags": [
"text"
],
"technical_documentation_url": "text",
"title": "My awesome API"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"kwargs": {},
"logs": [
{
"level": "text",
"message": "text"
}
],
"remote_id": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"source": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
},
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schedule": "text",
"url": "text",
"validation": {
"by": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"comment": "text",
"on": "2025-03-25T04:04:05.785Z",
"state": "pending"
}
}
Success
curl -L \
--request DELETE \
--url 'http://www.data.gouv.fr/api/1/harvest/source/{ident}'
{
"active": true,
"autoarchive": true,
"backend": "csw-dcat",
"config": {},
"created_at": "2025-03-25T04:04:05.785Z",
"deleted": "2025-03-25T04:04:05.785Z",
"description": "text",
"id": "text",
"last_job": {
"created": "2025-03-25T04:04:05.785Z",
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"id": "text",
"items": [
{
"args": [
"text"
],
"created": "2025-03-25T04:04:05.785Z",
"dataservice": {
"access_type": "open",
"acronym": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"authorization_request_url": "text",
"availability": "99.99",
"availability_url": "text",
"base_api_url": "text",
"business_documentation_url": "text",
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"datasets": {},
"deleted_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"format": "REST",
"harvest": {
"archived_at": "2025-03-25T04:04:05.785Z",
"archived_reason": "text",
"backend": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"domain": "text",
"id": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"source_url": "text",
"uri": "text"
},
"id": "text",
"license": "text",
"machine_documentation_url": "text",
"metadata_modified_at": "2025-03-25T04:04:05.785Z",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"private": true,
"rate_limiting": "text",
"rate_limiting_url": "text",
"self_api_url": "text",
"self_web_url": "text",
"slug": "text",
"tags": [
"text"
],
"technical_documentation_url": "text",
"title": "My awesome API"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"kwargs": {},
"logs": [
{
"level": "text",
"message": "text"
}
],
"remote_id": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"source": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
},
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schedule": "text",
"url": "text",
"validation": {
"by": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"comment": "text",
"on": "2025-03-25T04:04:05.785Z",
"state": "pending"
}
}
curl -L \
--url 'http://www.data.gouv.fr/api/1/harvest/source/{ident}/jobs/'
{
"data": [
{
"created": "2025-03-25T04:04:05.785Z",
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"id": "text",
"items": [
{
"args": [
"text"
],
"created": "2025-03-25T04:04:05.785Z",
"dataservice": {
"access_type": "open",
"acronym": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"authorization_request_url": "text",
"availability": "99.99",
"availability_url": "text",
"base_api_url": "text",
"business_documentation_url": "text",
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"datasets": {},
"deleted_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"format": "REST",
"harvest": {
"archived_at": "2025-03-25T04:04:05.785Z",
"archived_reason": "text",
"backend": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"domain": "text",
"id": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"source_url": "text",
"uri": "text"
},
"id": "text",
"license": "text",
"machine_documentation_url": "text",
"metadata_modified_at": "2025-03-25T04:04:05.785Z",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"private": true,
"rate_limiting": "text",
"rate_limiting_url": "text",
"self_api_url": "text",
"self_web_url": "text",
"slug": "text",
"tags": [
"text"
],
"technical_documentation_url": "text",
"title": "My awesome API"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"kwargs": {},
"logs": [
{
"level": "text",
"message": "text"
}
],
"remote_id": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"source": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"next_page": "text",
"page": 1,
"page_size": 1,
"previous_page": "text",
"total": 1
}
curl -L \
--url 'http://www.data.gouv.fr/api/1/harvest/source/{ident}/preview'
{
"created": "2025-03-25T04:04:05.785Z",
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"id": "text",
"items": [
{
"args": [
"text"
],
"created": "2025-03-25T04:04:05.785Z",
"dataservice": {
"access_type": "open",
"acronym": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"authorization_request_url": "text",
"availability": "99.99",
"availability_url": "text",
"base_api_url": "text",
"business_documentation_url": "text",
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"datasets": {},
"deleted_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"format": "REST",
"harvest": {
"archived_at": "2025-03-25T04:04:05.785Z",
"archived_reason": "text",
"backend": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"domain": "text",
"id": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"source_url": "text",
"uri": "text"
},
"id": "text",
"license": "text",
"machine_documentation_url": "text",
"metadata_modified_at": "2025-03-25T04:04:05.785Z",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"private": true,
"rate_limiting": "text",
"rate_limiting_url": "text",
"self_api_url": "text",
"self_web_url": "text",
"slug": "text",
"tags": [
"text"
],
"technical_documentation_url": "text",
"title": "My awesome API"
},
"dataset": {
"acronym": "text",
"archived": "2025-03-25T04:04:05.785Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"filesize": 1,
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2025-03-25T04:04:05.785Z",
"modified_at": "2025-03-25T04:04:05.785Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2025-03-25T04:04:05.785Z",
"last_modified_internal": "2025-03-25T04:04:05.785Z"
},
"last_modified": "2025-03-25T04:04:05.785Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"title": "text",
"type": "main",
"url": "text",
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
],
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"deleted": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"featured": true,
"frequency": "unknown",
"frequency_date": "2025-03-25T04:04:05.785Z",
"harvest": {
"archived": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"modified_at": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2025-03-25T04:04:05.785Z",
"last_modified_internal": "2025-03-25T04:04:05.785Z"
},
"last_modified": "2025-03-25T04:04:05.785Z",
"last_update": "2025-03-25T04:04:05.785Z",
"license": "text",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"page": "text",
"private": true,
"quality": {},
"resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"filesize": 1,
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2025-03-25T04:04:05.785Z",
"modified_at": "2025-03-25T04:04:05.785Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2025-03-25T04:04:05.785Z",
"last_modified_internal": "2025-03-25T04:04:05.785Z"
},
"last_modified": "2025-03-25T04:04:05.785Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"title": "text",
"type": "main",
"url": "text"
}
],
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"slug": "text",
"spatial": {
"geom": {
"coordinates": [
{}
],
"type": "Point"
},
"granularity": "text",
"zones": [
"text"
]
},
"tags": [
"text"
],
"temporal_coverage": {
"end": "2025-03-25T04:04:05.785Z",
"start": "2025-03-25T04:04:05.785Z"
},
"title": "text",
"uri": "text"
},
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"kwargs": {},
"logs": [
{
"level": "text",
"message": "text"
}
],
"remote_id": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"source": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
A source ID or slug
An optional fields mask
curl -L \
--request POST \
--url 'http://www.data.gouv.fr/api/1/harvest/source/{ident}/schedule' \
--header 'Content-Type: application/json' \
--data '"text"'
{
"active": true,
"autoarchive": true,
"backend": "csw-dcat",
"config": {},
"created_at": "2025-03-25T04:04:05.785Z",
"deleted": "2025-03-25T04:04:05.785Z",
"description": "text",
"id": "text",
"last_job": {
"created": "2025-03-25T04:04:05.785Z",
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"id": "text",
"items": [
{
"args": [
"text"
],
"created": "2025-03-25T04:04:05.785Z",
"dataservice": {
"access_type": "open",
"acronym": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"authorization_request_url": "text",
"availability": "99.99",
"availability_url": "text",
"base_api_url": "text",
"business_documentation_url": "text",
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"datasets": {},
"deleted_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"format": "REST",
"harvest": {
"archived_at": "2025-03-25T04:04:05.785Z",
"archived_reason": "text",
"backend": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"domain": "text",
"id": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"source_url": "text",
"uri": "text"
},
"id": "text",
"license": "text",
"machine_documentation_url": "text",
"metadata_modified_at": "2025-03-25T04:04:05.785Z",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"private": true,
"rate_limiting": "text",
"rate_limiting_url": "text",
"self_api_url": "text",
"self_web_url": "text",
"slug": "text",
"tags": [
"text"
],
"technical_documentation_url": "text",
"title": "My awesome API"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"kwargs": {},
"logs": [
{
"level": "text",
"message": "text"
}
],
"remote_id": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"source": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
},
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schedule": "text",
"url": "text",
"validation": {
"by": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"comment": "text",
"on": "2025-03-25T04:04:05.785Z",
"state": "pending"
}
}
Success
curl -L \
--request DELETE \
--url 'http://www.data.gouv.fr/api/1/harvest/source/{ident}/schedule'
{
"active": true,
"autoarchive": true,
"backend": "csw-dcat",
"config": {},
"created_at": "2025-03-25T04:04:05.785Z",
"deleted": "2025-03-25T04:04:05.785Z",
"description": "text",
"id": "text",
"last_job": {
"created": "2025-03-25T04:04:05.785Z",
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"id": "text",
"items": [
{
"args": [
"text"
],
"created": "2025-03-25T04:04:05.785Z",
"dataservice": {
"access_type": "open",
"acronym": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"authorization_request_url": "text",
"availability": "99.99",
"availability_url": "text",
"base_api_url": "text",
"business_documentation_url": "text",
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"datasets": {},
"deleted_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"format": "REST",
"harvest": {
"archived_at": "2025-03-25T04:04:05.785Z",
"archived_reason": "text",
"backend": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"domain": "text",
"id": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"source_url": "text",
"uri": "text"
},
"id": "text",
"license": "text",
"machine_documentation_url": "text",
"metadata_modified_at": "2025-03-25T04:04:05.785Z",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"private": true,
"rate_limiting": "text",
"rate_limiting_url": "text",
"self_api_url": "text",
"self_web_url": "text",
"slug": "text",
"tags": [
"text"
],
"technical_documentation_url": "text",
"title": "My awesome API"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"kwargs": {},
"logs": [
{
"level": "text",
"message": "text"
}
],
"remote_id": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"source": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
},
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schedule": "text",
"url": "text",
"validation": {
"by": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"comment": "text",
"on": "2025-03-25T04:04:05.785Z",
"state": "pending"
}
}
A source ID or slug
An optional fields mask
Who performed the validation
A comment about the validation. Required on rejection
Date date on which validation was performed
Is it validated or not
pending
pending
, accepted
, refused
curl -L \
--request POST \
--url 'http://www.data.gouv.fr/api/1/harvest/source/{ident}/validate' \
--header 'Content-Type: application/json' \
--data '{
"by": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"comment": "text",
"state": "pending"
}'
{
"active": true,
"autoarchive": true,
"backend": "csw-dcat",
"config": {},
"created_at": "2025-03-25T04:04:05.785Z",
"deleted": "2025-03-25T04:04:05.785Z",
"description": "text",
"id": "text",
"last_job": {
"created": "2025-03-25T04:04:05.785Z",
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"id": "text",
"items": [
{
"args": [
"text"
],
"created": "2025-03-25T04:04:05.785Z",
"dataservice": {
"access_type": "open",
"acronym": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"authorization_request_url": "text",
"availability": "99.99",
"availability_url": "text",
"base_api_url": "text",
"business_documentation_url": "text",
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"datasets": {},
"deleted_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"format": "REST",
"harvest": {
"archived_at": "2025-03-25T04:04:05.785Z",
"archived_reason": "text",
"backend": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"domain": "text",
"id": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"source_url": "text",
"uri": "text"
},
"id": "text",
"license": "text",
"machine_documentation_url": "text",
"metadata_modified_at": "2025-03-25T04:04:05.785Z",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"private": true,
"rate_limiting": "text",
"rate_limiting_url": "text",
"self_api_url": "text",
"self_web_url": "text",
"slug": "text",
"tags": [
"text"
],
"technical_documentation_url": "text",
"title": "My awesome API"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"kwargs": {},
"logs": [
{
"level": "text",
"message": "text"
}
],
"remote_id": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"source": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
},
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schedule": "text",
"url": "text",
"validation": {
"by": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"comment": "text",
"on": "2025-03-25T04:04:05.785Z",
"state": "pending"
}
}
Success
curl -L \
--url 'http://www.data.gouv.fr/api/1/harvest/sources/'
[
{
"data": [
{
"active": true,
"autoarchive": true,
"backend": "csw-dcat",
"config": {},
"created_at": "2025-03-25T04:04:05.785Z",
"deleted": "2025-03-25T04:04:05.785Z",
"description": "text",
"id": "text",
"last_job": {
"created": "2025-03-25T04:04:05.785Z",
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"id": "text",
"items": [
{
"args": [
"text"
],
"created": "2025-03-25T04:04:05.785Z",
"dataservice": {
"access_type": "open",
"acronym": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"authorization_request_url": "text",
"availability": "99.99",
"availability_url": "text",
"base_api_url": "text",
"business_documentation_url": "text",
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"datasets": {},
"deleted_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"format": "REST",
"harvest": {
"archived_at": "2025-03-25T04:04:05.785Z",
"archived_reason": "text",
"backend": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"domain": "text",
"id": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"source_url": "text",
"uri": "text"
},
"id": "text",
"license": "text",
"machine_documentation_url": "text",
"metadata_modified_at": "2025-03-25T04:04:05.785Z",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"private": true,
"rate_limiting": "text",
"rate_limiting_url": "text",
"self_api_url": "text",
"self_web_url": "text",
"slug": "text",
"tags": [
"text"
],
"technical_documentation_url": "text",
"title": "My awesome API"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"kwargs": {},
"logs": [
{
"level": "text",
"message": "text"
}
],
"remote_id": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"source": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
},
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schedule": "text",
"url": "text",
"validation": {
"by": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"comment": "text",
"on": "2025-03-25T04:04:05.785Z",
"state": "pending"
}
}
],
"next_page": "text",
"page": 1,
"page_size": 1,
"previous_page": "text",
"total": 1
}
]
An optional fields mask
Is this source active
If enabled, datasets not present on the remote source will be automatically archived
The source backend
csw-dcat
csw-dcat
, csw-iso-19139
, dcat
, ckan
, dkan
, maaf
The configuration as key-value pairs
The source creation date
The source deletion date
The source description
The source unique identifier
The last job for this source
The source display name
The producer organization
The owner information
The source schedule (interval or cron expression)
The source base URL
Has the source been validated
curl -L \
--request POST \
--url 'http://www.data.gouv.fr/api/1/harvest/sources/' \
--header 'Content-Type: application/json' \
--data '{
"active": true,
"autoarchive": true,
"backend": "csw-dcat",
"config": {},
"description": "text",
"last_job": {
"created": "2025-03-25T04:04:05.785Z",
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"id": "text",
"items": [
{
"args": [
"text"
],
"created": "2025-03-25T04:04:05.785Z",
"dataservice": {
"access_type": "open",
"acronym": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"authorization_request_url": "text",
"availability": "99.99",
"availability_url": "text",
"base_api_url": "text",
"business_documentation_url": "text",
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"datasets": {},
"deleted_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"format": "REST",
"harvest": {
"archived_at": "2025-03-25T04:04:05.785Z",
"archived_reason": "text",
"backend": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"domain": "text",
"id": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"source_url": "text",
"uri": "text"
},
"id": "text",
"license": "text",
"machine_documentation_url": "text",
"metadata_modified_at": "2025-03-25T04:04:05.785Z",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"private": true,
"rate_limiting": "text",
"rate_limiting_url": "text",
"self_api_url": "text",
"self_web_url": "text",
"slug": "text",
"tags": [
"text"
],
"technical_documentation_url": "text",
"title": "My awesome API"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"kwargs": {},
"logs": [
{
"level": "text",
"message": "text"
}
],
"remote_id": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"source": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
},
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"url": "text",
"validation": {
"by": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"comment": "text",
"on": "2025-03-25T04:04:05.785Z",
"state": "pending"
}
}'
{
"active": true,
"autoarchive": true,
"backend": "csw-dcat",
"config": {},
"created_at": "2025-03-25T04:04:05.785Z",
"deleted": "2025-03-25T04:04:05.785Z",
"description": "text",
"id": "text",
"last_job": {
"created": "2025-03-25T04:04:05.785Z",
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"id": "text",
"items": [
{
"args": [
"text"
],
"created": "2025-03-25T04:04:05.785Z",
"dataservice": {
"access_type": "open",
"acronym": "text",
"archived_at": "2025-03-25T04:04:05.785Z",
"authorization_request_url": "text",
"availability": "99.99",
"availability_url": "text",
"base_api_url": "text",
"business_documentation_url": "text",
"contact_points": [
{
"contact_form": "text",
"email": "text",
"id": "text",
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"role": "text"
}
],
"created_at": "2025-03-25T04:04:05.785Z",
"datasets": {},
"deleted_at": "2025-03-25T04:04:05.785Z",
"description": "text",
"extras": {},
"format": "REST",
"harvest": {
"archived_at": "2025-03-25T04:04:05.785Z",
"archived_reason": "text",
"backend": "text",
"created_at": "2025-03-25T04:04:05.785Z",
"domain": "text",
"id": "text",
"last_update": "2025-03-25T04:04:05.785Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"source_url": "text",
"uri": "text"
},
"id": "text",
"license": "text",
"machine_documentation_url": "text",
"metadata_modified_at": "2025-03-25T04:04:05.785Z",
"metrics": {},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"private": true,
"rate_limiting": "text",
"rate_limiting_url": "text",
"self_api_url": "text",
"self_web_url": "text",
"slug": "text",
"tags": [
"text"
],
"technical_documentation_url": "text",
"title": "My awesome API"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"ended": "2025-03-25T04:04:05.785Z",
"errors": [
{
"level": "text",
"message": "text"
}
],
"kwargs": {},
"logs": [
{
"level": "text",
"message": "text"
}
],
"remote_id": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
}
],
"source": "text",
"started": "2025-03-25T04:04:05.785Z",
"status": "pending"
},
"name": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"badges": [
{
"kind": "text"
}
],
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schedule": "text",
"url": "text",
"validation": {
"by": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"comment": "text",
"on": "2025-03-25T04:04:05.785Z",
"state": "pending"
}
}
Success