posts
Posts related operations
/posts/
The page to fetch
The page size to fetch
The sorting attribute
True
also returns the unpublished posts (only for super-admins)
query string to search through resources titles
An optional fields mask
curl -L \
--url '//www.data.gouv.fr/api/1/posts/'
{
"next_page": "text",
"page": 1,
"page_size": 1,
"previous_page": "text",
"total": 1,
"data": [
{
"body_type": "markdown",
"content": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"credit_to": "text",
"credit_url": "text",
"headline": "text",
"id": "text",
"image": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"name": "text",
"page": "text",
"published": "2025-02-20T19:04:51.625Z",
"slug": "text",
"uri": "text",
"datasets": [
{
"acronym": "text",
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"frequency_date": "2025-02-20T19:04:51.625Z",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"last_update": "2025-02-20T19:04:51.625Z",
"license": "notspecified",
"metrics": {},
"page": "text",
"private": true,
"quality": {},
"slug": "text",
"title": "text",
"uri": "text",
"frequency": "unknown",
"badges": [
{
"kind": "text"
}
],
"tags": [
"text"
],
"harvest": {
"archived": "text",
"archived_at": "2025-02-20T19:04:51.625Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"spatial": {
"granularity": "other",
"zones": [
"text"
],
"geom": {
"type": "Point",
"coordinates": [
{}
]
}
},
"temporal_coverage": {
"end": "2025-02-20T19:04:51.625Z",
"start": "2025-02-20T19:04:51.625Z"
},
"community_resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "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",
"role": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
],
"resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
}
}
]
}
],
"reuses": [
{
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"metrics": {},
"page": "text",
"private": true,
"slug": "text",
"title": "text",
"uri": "text",
"url": "text",
"topic": "health",
"type": "api",
"datasets": [
{
"acronym": "text",
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"frequency_date": "2025-02-20T19:04:51.625Z",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"last_update": "2025-02-20T19:04:51.625Z",
"license": "notspecified",
"metrics": {},
"page": "text",
"private": true,
"quality": {},
"slug": "text",
"title": "text",
"uri": "text",
"frequency": "unknown",
"badges": [
{
"kind": "text"
}
],
"tags": [
"text"
],
"harvest": {
"archived": "text",
"archived_at": "2025-02-20T19:04:51.625Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"spatial": {
"granularity": "other",
"zones": [
"text"
],
"geom": {
"type": "Point",
"coordinates": [
{}
]
}
},
"temporal_coverage": {
"end": "2025-02-20T19:04:51.625Z",
"start": "2025-02-20T19:04:51.625Z"
},
"community_resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "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",
"role": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
],
"resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
}
}
]
}
],
"tags": [
"text"
],
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"badges": [
{
"kind": "text"
}
]
}
],
"tags": [
"text"
],
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
]
}
Success
/posts/
An optional fields mask
HTML or markdown body type
The post content in Markdown
The post creation date
An optional credit line (associated to the image)
An optional link associated to the credits
The post headline
The post identifier
The post image
The post last modification date
The post name
The post page URL
The post publication date
The post permalink string
The post API URI
The post datasets
The post reuses
Some keywords to help in search
The owner user
curl -L \
--request POST \
--url '//www.data.gouv.fr/api/1/posts/' \
--header 'Content-Type: application/json' \
--data '{"body_type":"markdown","content":"text","headline":"text","name":"text","datasets":[{"acronym":"text","archived":"2025-02-20T19:04:51.625Z","created_at":"2025-02-20T19:04:51.625Z","deleted":"2025-02-20T19:04:51.625Z","description":"text","extras":{},"featured":true,"frequency_date":"2025-02-20T19:04:51.625Z","id":"text","last_modified":"2025-02-20T19:04:51.625Z","last_update":"2025-02-20T19:04:51.625Z","license":"notspecified","metrics":{},"page":"text","private":true,"quality":{},"slug":"text","title":"text","uri":"text","frequency":"unknown","badges":[{"kind":"text"}],"tags":["text"],"harvest":{"archived":"text","archived_at":"2025-02-20T19:04:51.625Z","backend":"text","ckan_name":"text","ckan_source":"text","created_at":"2025-02-20T19:04:51.625Z","dct_identifier":"text","domain":"text","last_update":"2025-02-20T19:04:51.625Z","modified_at":"2025-02-20T19:04:51.625Z","remote_id":"text","remote_url":"text","source_id":"text","uri":"text"},"internal":{"created_at_internal":"2025-02-20T19:04:51.625Z","last_modified_internal":"2025-02-20T19:04:51.625Z"},"organization":{"class":"text","id":"text","acronym":"text","logo":"text","logo_thumbnail":"text","name":"text","page":"text","slug":"text","uri":"text","badges":[{"kind":"text"}]},"owner":{"class":"text","id":"text","avatar":"text","avatar_thumbnail":"text","first_name":"text","last_name":"text","page":"text","slug":"text","uri":"text"},"schema":{"name":"text","url":"text","version":"text"},"spatial":{"granularity":"other","zones":["text"],"geom":{"type":"Point","coordinates":[{}]}},"temporal_coverage":{"end":"2025-02-20T19:04:51.625Z","start":"2025-02-20T19:04:51.625Z"},"community_resources":[{"created_at":"2025-02-20T19:04:51.625Z","description":"text","extras":{},"filesize":1,"format":"text","id":"text","last_modified":"2025-02-20T19:04:51.625Z","latest":"text","metrics":{},"mime":"text","preview_url":"text","title":"text","url":"text","filetype":"file","type":"main","checksum":{"value":"text","type":"sha1"},"harvest":{"created_at":"2025-02-20T19:04:51.625Z","modified_at":"2025-02-20T19:04:51.625Z","uri":"text"},"internal":{"created_at_internal":"2025-02-20T19:04:51.625Z","last_modified_internal":"2025-02-20T19:04:51.625Z"},"schema":{"name":"text","url":"text","version":"text"},"dataset":{"class":"text","id":"text","acronym":"text","page":"text","title":"text","uri":"text"},"organization":{"class":"text","id":"text","acronym":"text","logo":"text","logo_thumbnail":"text","name":"text","page":"text","slug":"text","uri":"text","badges":[{"kind":"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","role":"text","organization":{"class":"text","id":"text","acronym":"text","logo":"text","logo_thumbnail":"text","name":"text","page":"text","slug":"text","uri":"text","badges":[{"kind":"text"}]},"owner":{"class":"text","id":"text","avatar":"text","avatar_thumbnail":"text","first_name":"text","last_name":"text","page":"text","slug":"text","uri":"text"}}],"resources":[{"created_at":"2025-02-20T19:04:51.625Z","description":"text","extras":{},"filesize":1,"format":"text","id":"text","last_modified":"2025-02-20T19:04:51.625Z","latest":"text","metrics":{},"mime":"text","preview_url":"text","title":"text","url":"text","filetype":"file","type":"main","checksum":{"value":"text","type":"sha1"},"harvest":{"created_at":"2025-02-20T19:04:51.625Z","modified_at":"2025-02-20T19:04:51.625Z","uri":"text"},"internal":{"created_at_internal":"2025-02-20T19:04:51.625Z","last_modified_internal":"2025-02-20T19:04:51.625Z"},"schema":{"name":"text","url":"text","version":"text"}}]}],"reuses":[{"archived":"2025-02-20T19:04:51.625Z","created_at":"2025-02-20T19:04:51.625Z","deleted":"2025-02-20T19:04:51.625Z","description":"text","extras":{},"featured":true,"id":"text","image":"text","image_thumbnail":"text","last_modified":"2025-02-20T19:04:51.625Z","metrics":{},"page":"text","private":true,"slug":"text","title":"text","uri":"text","url":"text","topic":"health","type":"api","datasets":[{"acronym":"text","archived":"2025-02-20T19:04:51.625Z","created_at":"2025-02-20T19:04:51.625Z","deleted":"2025-02-20T19:04:51.625Z","description":"text","extras":{},"featured":true,"frequency_date":"2025-02-20T19:04:51.625Z","id":"text","last_modified":"2025-02-20T19:04:51.625Z","last_update":"2025-02-20T19:04:51.625Z","license":"notspecified","metrics":{},"page":"text","private":true,"quality":{},"slug":"text","title":"text","uri":"text","frequency":"unknown","badges":[{"kind":"text"}],"tags":["text"],"harvest":{"archived":"text","archived_at":"2025-02-20T19:04:51.625Z","backend":"text","ckan_name":"text","ckan_source":"text","created_at":"2025-02-20T19:04:51.625Z","dct_identifier":"text","domain":"text","last_update":"2025-02-20T19:04:51.625Z","modified_at":"2025-02-20T19:04:51.625Z","remote_id":"text","remote_url":"text","source_id":"text","uri":"text"},"internal":{"created_at_internal":"2025-02-20T19:04:51.625Z","last_modified_internal":"2025-02-20T19:04:51.625Z"},"organization":{"class":"text","id":"text","acronym":"text","logo":"text","logo_thumbnail":"text","name":"text","page":"text","slug":"text","uri":"text","badges":[{"kind":"text"}]},"owner":{"class":"text","id":"text","avatar":"text","avatar_thumbnail":"text","first_name":"text","last_name":"text","page":"text","slug":"text","uri":"text"},"schema":{"name":"text","url":"text","version":"text"},"spatial":{"granularity":"other","zones":["text"],"geom":{"type":"Point","coordinates":[{}]}},"temporal_coverage":{"end":"2025-02-20T19:04:51.625Z","start":"2025-02-20T19:04:51.625Z"},"community_resources":[{"created_at":"2025-02-20T19:04:51.625Z","description":"text","extras":{},"filesize":1,"format":"text","id":"text","last_modified":"2025-02-20T19:04:51.625Z","latest":"text","metrics":{},"mime":"text","preview_url":"text","title":"text","url":"text","filetype":"file","type":"main","checksum":{"value":"text","type":"sha1"},"harvest":{"created_at":"2025-02-20T19:04:51.625Z","modified_at":"2025-02-20T19:04:51.625Z","uri":"text"},"internal":{"created_at_internal":"2025-02-20T19:04:51.625Z","last_modified_internal":"2025-02-20T19:04:51.625Z"},"schema":{"name":"text","url":"text","version":"text"},"dataset":{"class":"text","id":"text","acronym":"text","page":"text","title":"text","uri":"text"},"organization":{"class":"text","id":"text","acronym":"text","logo":"text","logo_thumbnail":"text","name":"text","page":"text","slug":"text","uri":"text","badges":[{"kind":"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","role":"text","organization":{"class":"text","id":"text","acronym":"text","logo":"text","logo_thumbnail":"text","name":"text","page":"text","slug":"text","uri":"text","badges":[{"kind":"text"}]},"owner":{"class":"text","id":"text","avatar":"text","avatar_thumbnail":"text","first_name":"text","last_name":"text","page":"text","slug":"text","uri":"text"}}],"resources":[{"created_at":"2025-02-20T19:04:51.625Z","description":"text","extras":{},"filesize":1,"format":"text","id":"text","last_modified":"2025-02-20T19:04:51.625Z","latest":"text","metrics":{},"mime":"text","preview_url":"text","title":"text","url":"text","filetype":"file","type":"main","checksum":{"value":"text","type":"sha1"},"harvest":{"created_at":"2025-02-20T19:04:51.625Z","modified_at":"2025-02-20T19:04:51.625Z","uri":"text"},"internal":{"created_at_internal":"2025-02-20T19:04:51.625Z","last_modified_internal":"2025-02-20T19:04:51.625Z"},"schema":{"name":"text","url":"text","version":"text"}}]}],"tags":["text"],"organization":{"class":"text","id":"text","acronym":"text","logo":"text","logo_thumbnail":"text","name":"text","page":"text","slug":"text","uri":"text","badges":[{"kind":"text"}]},"owner":{"class":"text","id":"text","avatar":"text","avatar_thumbnail":"text","first_name":"text","last_name":"text","page":"text","slug":"text","uri":"text"},"badges":[{"kind":"text"}]}],"tags":[null],"owner":{"class":"text","id":"text","avatar":"text","avatar_thumbnail":"text","first_name":"text","last_name":"text","page":"text","slug":"text","uri":"text"}}'
{
"body_type": "markdown",
"content": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"credit_to": "text",
"credit_url": "text",
"headline": "text",
"id": "text",
"image": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"name": "text",
"page": "text",
"published": "2025-02-20T19:04:51.625Z",
"slug": "text",
"uri": "text",
"datasets": [
{
"acronym": "text",
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"frequency_date": "2025-02-20T19:04:51.625Z",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"last_update": "2025-02-20T19:04:51.625Z",
"license": "notspecified",
"metrics": {},
"page": "text",
"private": true,
"quality": {},
"slug": "text",
"title": "text",
"uri": "text",
"frequency": "unknown",
"badges": [
{
"kind": "text"
}
],
"tags": [
"text"
],
"harvest": {
"archived": "text",
"archived_at": "2025-02-20T19:04:51.625Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"spatial": {
"granularity": "other",
"zones": [
"text"
],
"geom": {
"type": "Point",
"coordinates": [
{}
]
}
},
"temporal_coverage": {
"end": "2025-02-20T19:04:51.625Z",
"start": "2025-02-20T19:04:51.625Z"
},
"community_resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "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",
"role": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
],
"resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
}
}
]
}
],
"reuses": [
{
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"metrics": {},
"page": "text",
"private": true,
"slug": "text",
"title": "text",
"uri": "text",
"url": "text",
"topic": "health",
"type": "api",
"datasets": [
{
"acronym": "text",
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"frequency_date": "2025-02-20T19:04:51.625Z",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"last_update": "2025-02-20T19:04:51.625Z",
"license": "notspecified",
"metrics": {},
"page": "text",
"private": true,
"quality": {},
"slug": "text",
"title": "text",
"uri": "text",
"frequency": "unknown",
"badges": [
{
"kind": "text"
}
],
"tags": [
"text"
],
"harvest": {
"archived": "text",
"archived_at": "2025-02-20T19:04:51.625Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"spatial": {
"granularity": "other",
"zones": [
"text"
],
"geom": {
"type": "Point",
"coordinates": [
{}
]
}
},
"temporal_coverage": {
"end": "2025-02-20T19:04:51.625Z",
"start": "2025-02-20T19:04:51.625Z"
},
"community_resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "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",
"role": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
],
"resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
}
}
]
}
],
"tags": [
"text"
],
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"badges": [
{
"kind": "text"
}
]
}
],
"tags": [
"text"
],
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
Success
/posts/{post}//
The post ID or slug
An optional fields mask
curl -L \
--url '//www.data.gouv.fr/api/1/posts/{post}/'
{
"body_type": "markdown",
"content": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"credit_to": "text",
"credit_url": "text",
"headline": "text",
"id": "text",
"image": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"name": "text",
"page": "text",
"published": "2025-02-20T19:04:51.625Z",
"slug": "text",
"uri": "text",
"datasets": [
{
"acronym": "text",
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"frequency_date": "2025-02-20T19:04:51.625Z",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"last_update": "2025-02-20T19:04:51.625Z",
"license": "notspecified",
"metrics": {},
"page": "text",
"private": true,
"quality": {},
"slug": "text",
"title": "text",
"uri": "text",
"frequency": "unknown",
"badges": [
{
"kind": "text"
}
],
"tags": [
"text"
],
"harvest": {
"archived": "text",
"archived_at": "2025-02-20T19:04:51.625Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"spatial": {
"granularity": "other",
"zones": [
"text"
],
"geom": {
"type": "Point",
"coordinates": [
{}
]
}
},
"temporal_coverage": {
"end": "2025-02-20T19:04:51.625Z",
"start": "2025-02-20T19:04:51.625Z"
},
"community_resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "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",
"role": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
],
"resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
}
}
]
}
],
"reuses": [
{
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"metrics": {},
"page": "text",
"private": true,
"slug": "text",
"title": "text",
"uri": "text",
"url": "text",
"topic": "health",
"type": "api",
"datasets": [
{
"acronym": "text",
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"frequency_date": "2025-02-20T19:04:51.625Z",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"last_update": "2025-02-20T19:04:51.625Z",
"license": "notspecified",
"metrics": {},
"page": "text",
"private": true,
"quality": {},
"slug": "text",
"title": "text",
"uri": "text",
"frequency": "unknown",
"badges": [
{
"kind": "text"
}
],
"tags": [
"text"
],
"harvest": {
"archived": "text",
"archived_at": "2025-02-20T19:04:51.625Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"spatial": {
"granularity": "other",
"zones": [
"text"
],
"geom": {
"type": "Point",
"coordinates": [
{}
]
}
},
"temporal_coverage": {
"end": "2025-02-20T19:04:51.625Z",
"start": "2025-02-20T19:04:51.625Z"
},
"community_resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "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",
"role": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
],
"resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
}
}
]
}
],
"tags": [
"text"
],
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"badges": [
{
"kind": "text"
}
]
}
],
"tags": [
"text"
],
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
Success
/posts/{post}//
The post ID or slug
An optional fields mask
HTML or markdown body type
The post content in Markdown
The post creation date
An optional credit line (associated to the image)
An optional link associated to the credits
The post headline
The post identifier
The post image
The post last modification date
The post name
The post page URL
The post publication date
The post permalink string
The post API URI
The post datasets
The post reuses
Some keywords to help in search
The owner user
curl -L \
--request PUT \
--url '//www.data.gouv.fr/api/1/posts/{post}/' \
--header 'Content-Type: application/json' \
--data '{"body_type":"markdown","content":"text","headline":"text","name":"text","datasets":[{"acronym":"text","archived":"2025-02-20T19:04:51.625Z","created_at":"2025-02-20T19:04:51.625Z","deleted":"2025-02-20T19:04:51.625Z","description":"text","extras":{},"featured":true,"frequency_date":"2025-02-20T19:04:51.625Z","id":"text","last_modified":"2025-02-20T19:04:51.625Z","last_update":"2025-02-20T19:04:51.625Z","license":"notspecified","metrics":{},"page":"text","private":true,"quality":{},"slug":"text","title":"text","uri":"text","frequency":"unknown","badges":[{"kind":"text"}],"tags":["text"],"harvest":{"archived":"text","archived_at":"2025-02-20T19:04:51.625Z","backend":"text","ckan_name":"text","ckan_source":"text","created_at":"2025-02-20T19:04:51.625Z","dct_identifier":"text","domain":"text","last_update":"2025-02-20T19:04:51.625Z","modified_at":"2025-02-20T19:04:51.625Z","remote_id":"text","remote_url":"text","source_id":"text","uri":"text"},"internal":{"created_at_internal":"2025-02-20T19:04:51.625Z","last_modified_internal":"2025-02-20T19:04:51.625Z"},"organization":{"class":"text","id":"text","acronym":"text","logo":"text","logo_thumbnail":"text","name":"text","page":"text","slug":"text","uri":"text","badges":[{"kind":"text"}]},"owner":{"class":"text","id":"text","avatar":"text","avatar_thumbnail":"text","first_name":"text","last_name":"text","page":"text","slug":"text","uri":"text"},"schema":{"name":"text","url":"text","version":"text"},"spatial":{"granularity":"other","zones":["text"],"geom":{"type":"Point","coordinates":[{}]}},"temporal_coverage":{"end":"2025-02-20T19:04:51.625Z","start":"2025-02-20T19:04:51.625Z"},"community_resources":[{"created_at":"2025-02-20T19:04:51.625Z","description":"text","extras":{},"filesize":1,"format":"text","id":"text","last_modified":"2025-02-20T19:04:51.625Z","latest":"text","metrics":{},"mime":"text","preview_url":"text","title":"text","url":"text","filetype":"file","type":"main","checksum":{"value":"text","type":"sha1"},"harvest":{"created_at":"2025-02-20T19:04:51.625Z","modified_at":"2025-02-20T19:04:51.625Z","uri":"text"},"internal":{"created_at_internal":"2025-02-20T19:04:51.625Z","last_modified_internal":"2025-02-20T19:04:51.625Z"},"schema":{"name":"text","url":"text","version":"text"},"dataset":{"class":"text","id":"text","acronym":"text","page":"text","title":"text","uri":"text"},"organization":{"class":"text","id":"text","acronym":"text","logo":"text","logo_thumbnail":"text","name":"text","page":"text","slug":"text","uri":"text","badges":[{"kind":"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","role":"text","organization":{"class":"text","id":"text","acronym":"text","logo":"text","logo_thumbnail":"text","name":"text","page":"text","slug":"text","uri":"text","badges":[{"kind":"text"}]},"owner":{"class":"text","id":"text","avatar":"text","avatar_thumbnail":"text","first_name":"text","last_name":"text","page":"text","slug":"text","uri":"text"}}],"resources":[{"created_at":"2025-02-20T19:04:51.625Z","description":"text","extras":{},"filesize":1,"format":"text","id":"text","last_modified":"2025-02-20T19:04:51.625Z","latest":"text","metrics":{},"mime":"text","preview_url":"text","title":"text","url":"text","filetype":"file","type":"main","checksum":{"value":"text","type":"sha1"},"harvest":{"created_at":"2025-02-20T19:04:51.625Z","modified_at":"2025-02-20T19:04:51.625Z","uri":"text"},"internal":{"created_at_internal":"2025-02-20T19:04:51.625Z","last_modified_internal":"2025-02-20T19:04:51.625Z"},"schema":{"name":"text","url":"text","version":"text"}}]}],"reuses":[{"archived":"2025-02-20T19:04:51.625Z","created_at":"2025-02-20T19:04:51.625Z","deleted":"2025-02-20T19:04:51.625Z","description":"text","extras":{},"featured":true,"id":"text","image":"text","image_thumbnail":"text","last_modified":"2025-02-20T19:04:51.625Z","metrics":{},"page":"text","private":true,"slug":"text","title":"text","uri":"text","url":"text","topic":"health","type":"api","datasets":[{"acronym":"text","archived":"2025-02-20T19:04:51.625Z","created_at":"2025-02-20T19:04:51.625Z","deleted":"2025-02-20T19:04:51.625Z","description":"text","extras":{},"featured":true,"frequency_date":"2025-02-20T19:04:51.625Z","id":"text","last_modified":"2025-02-20T19:04:51.625Z","last_update":"2025-02-20T19:04:51.625Z","license":"notspecified","metrics":{},"page":"text","private":true,"quality":{},"slug":"text","title":"text","uri":"text","frequency":"unknown","badges":[{"kind":"text"}],"tags":["text"],"harvest":{"archived":"text","archived_at":"2025-02-20T19:04:51.625Z","backend":"text","ckan_name":"text","ckan_source":"text","created_at":"2025-02-20T19:04:51.625Z","dct_identifier":"text","domain":"text","last_update":"2025-02-20T19:04:51.625Z","modified_at":"2025-02-20T19:04:51.625Z","remote_id":"text","remote_url":"text","source_id":"text","uri":"text"},"internal":{"created_at_internal":"2025-02-20T19:04:51.625Z","last_modified_internal":"2025-02-20T19:04:51.625Z"},"organization":{"class":"text","id":"text","acronym":"text","logo":"text","logo_thumbnail":"text","name":"text","page":"text","slug":"text","uri":"text","badges":[{"kind":"text"}]},"owner":{"class":"text","id":"text","avatar":"text","avatar_thumbnail":"text","first_name":"text","last_name":"text","page":"text","slug":"text","uri":"text"},"schema":{"name":"text","url":"text","version":"text"},"spatial":{"granularity":"other","zones":["text"],"geom":{"type":"Point","coordinates":[{}]}},"temporal_coverage":{"end":"2025-02-20T19:04:51.625Z","start":"2025-02-20T19:04:51.625Z"},"community_resources":[{"created_at":"2025-02-20T19:04:51.625Z","description":"text","extras":{},"filesize":1,"format":"text","id":"text","last_modified":"2025-02-20T19:04:51.625Z","latest":"text","metrics":{},"mime":"text","preview_url":"text","title":"text","url":"text","filetype":"file","type":"main","checksum":{"value":"text","type":"sha1"},"harvest":{"created_at":"2025-02-20T19:04:51.625Z","modified_at":"2025-02-20T19:04:51.625Z","uri":"text"},"internal":{"created_at_internal":"2025-02-20T19:04:51.625Z","last_modified_internal":"2025-02-20T19:04:51.625Z"},"schema":{"name":"text","url":"text","version":"text"},"dataset":{"class":"text","id":"text","acronym":"text","page":"text","title":"text","uri":"text"},"organization":{"class":"text","id":"text","acronym":"text","logo":"text","logo_thumbnail":"text","name":"text","page":"text","slug":"text","uri":"text","badges":[{"kind":"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","role":"text","organization":{"class":"text","id":"text","acronym":"text","logo":"text","logo_thumbnail":"text","name":"text","page":"text","slug":"text","uri":"text","badges":[{"kind":"text"}]},"owner":{"class":"text","id":"text","avatar":"text","avatar_thumbnail":"text","first_name":"text","last_name":"text","page":"text","slug":"text","uri":"text"}}],"resources":[{"created_at":"2025-02-20T19:04:51.625Z","description":"text","extras":{},"filesize":1,"format":"text","id":"text","last_modified":"2025-02-20T19:04:51.625Z","latest":"text","metrics":{},"mime":"text","preview_url":"text","title":"text","url":"text","filetype":"file","type":"main","checksum":{"value":"text","type":"sha1"},"harvest":{"created_at":"2025-02-20T19:04:51.625Z","modified_at":"2025-02-20T19:04:51.625Z","uri":"text"},"internal":{"created_at_internal":"2025-02-20T19:04:51.625Z","last_modified_internal":"2025-02-20T19:04:51.625Z"},"schema":{"name":"text","url":"text","version":"text"}}]}],"tags":["text"],"organization":{"class":"text","id":"text","acronym":"text","logo":"text","logo_thumbnail":"text","name":"text","page":"text","slug":"text","uri":"text","badges":[{"kind":"text"}]},"owner":{"class":"text","id":"text","avatar":"text","avatar_thumbnail":"text","first_name":"text","last_name":"text","page":"text","slug":"text","uri":"text"},"badges":[{"kind":"text"}]}],"tags":[null],"owner":{"class":"text","id":"text","avatar":"text","avatar_thumbnail":"text","first_name":"text","last_name":"text","page":"text","slug":"text","uri":"text"}}'
{
"body_type": "markdown",
"content": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"credit_to": "text",
"credit_url": "text",
"headline": "text",
"id": "text",
"image": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"name": "text",
"page": "text",
"published": "2025-02-20T19:04:51.625Z",
"slug": "text",
"uri": "text",
"datasets": [
{
"acronym": "text",
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"frequency_date": "2025-02-20T19:04:51.625Z",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"last_update": "2025-02-20T19:04:51.625Z",
"license": "notspecified",
"metrics": {},
"page": "text",
"private": true,
"quality": {},
"slug": "text",
"title": "text",
"uri": "text",
"frequency": "unknown",
"badges": [
{
"kind": "text"
}
],
"tags": [
"text"
],
"harvest": {
"archived": "text",
"archived_at": "2025-02-20T19:04:51.625Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"spatial": {
"granularity": "other",
"zones": [
"text"
],
"geom": {
"type": "Point",
"coordinates": [
{}
]
}
},
"temporal_coverage": {
"end": "2025-02-20T19:04:51.625Z",
"start": "2025-02-20T19:04:51.625Z"
},
"community_resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "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",
"role": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
],
"resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
}
}
]
}
],
"reuses": [
{
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"metrics": {},
"page": "text",
"private": true,
"slug": "text",
"title": "text",
"uri": "text",
"url": "text",
"topic": "health",
"type": "api",
"datasets": [
{
"acronym": "text",
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"frequency_date": "2025-02-20T19:04:51.625Z",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"last_update": "2025-02-20T19:04:51.625Z",
"license": "notspecified",
"metrics": {},
"page": "text",
"private": true,
"quality": {},
"slug": "text",
"title": "text",
"uri": "text",
"frequency": "unknown",
"badges": [
{
"kind": "text"
}
],
"tags": [
"text"
],
"harvest": {
"archived": "text",
"archived_at": "2025-02-20T19:04:51.625Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"spatial": {
"granularity": "other",
"zones": [
"text"
],
"geom": {
"type": "Point",
"coordinates": [
{}
]
}
},
"temporal_coverage": {
"end": "2025-02-20T19:04:51.625Z",
"start": "2025-02-20T19:04:51.625Z"
},
"community_resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "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",
"role": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
],
"resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
}
}
]
}
],
"tags": [
"text"
],
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"badges": [
{
"kind": "text"
}
]
}
],
"tags": [
"text"
],
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
Success
/posts/{post}/publish
An optional fields mask
curl -L \
--request POST \
--url '//www.data.gouv.fr/api/1/posts/{post}/publish'
{
"body_type": "markdown",
"content": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"credit_to": "text",
"credit_url": "text",
"headline": "text",
"id": "text",
"image": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"name": "text",
"page": "text",
"published": "2025-02-20T19:04:51.625Z",
"slug": "text",
"uri": "text",
"datasets": [
{
"acronym": "text",
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"frequency_date": "2025-02-20T19:04:51.625Z",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"last_update": "2025-02-20T19:04:51.625Z",
"license": "notspecified",
"metrics": {},
"page": "text",
"private": true,
"quality": {},
"slug": "text",
"title": "text",
"uri": "text",
"frequency": "unknown",
"badges": [
{
"kind": "text"
}
],
"tags": [
"text"
],
"harvest": {
"archived": "text",
"archived_at": "2025-02-20T19:04:51.625Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"spatial": {
"granularity": "other",
"zones": [
"text"
],
"geom": {
"type": "Point",
"coordinates": [
{}
]
}
},
"temporal_coverage": {
"end": "2025-02-20T19:04:51.625Z",
"start": "2025-02-20T19:04:51.625Z"
},
"community_resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "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",
"role": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
],
"resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
}
}
]
}
],
"reuses": [
{
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"metrics": {},
"page": "text",
"private": true,
"slug": "text",
"title": "text",
"uri": "text",
"url": "text",
"topic": "health",
"type": "api",
"datasets": [
{
"acronym": "text",
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"frequency_date": "2025-02-20T19:04:51.625Z",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"last_update": "2025-02-20T19:04:51.625Z",
"license": "notspecified",
"metrics": {},
"page": "text",
"private": true,
"quality": {},
"slug": "text",
"title": "text",
"uri": "text",
"frequency": "unknown",
"badges": [
{
"kind": "text"
}
],
"tags": [
"text"
],
"harvest": {
"archived": "text",
"archived_at": "2025-02-20T19:04:51.625Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"spatial": {
"granularity": "other",
"zones": [
"text"
],
"geom": {
"type": "Point",
"coordinates": [
{}
]
}
},
"temporal_coverage": {
"end": "2025-02-20T19:04:51.625Z",
"start": "2025-02-20T19:04:51.625Z"
},
"community_resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "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",
"role": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
],
"resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
}
}
]
}
],
"tags": [
"text"
],
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"badges": [
{
"kind": "text"
}
]
}
],
"tags": [
"text"
],
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
Success
/posts/{post}/publish
An optional fields mask
curl -L \
--request DELETE \
--url '//www.data.gouv.fr/api/1/posts/{post}/publish'
{
"body_type": "markdown",
"content": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"credit_to": "text",
"credit_url": "text",
"headline": "text",
"id": "text",
"image": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"name": "text",
"page": "text",
"published": "2025-02-20T19:04:51.625Z",
"slug": "text",
"uri": "text",
"datasets": [
{
"acronym": "text",
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"frequency_date": "2025-02-20T19:04:51.625Z",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"last_update": "2025-02-20T19:04:51.625Z",
"license": "notspecified",
"metrics": {},
"page": "text",
"private": true,
"quality": {},
"slug": "text",
"title": "text",
"uri": "text",
"frequency": "unknown",
"badges": [
{
"kind": "text"
}
],
"tags": [
"text"
],
"harvest": {
"archived": "text",
"archived_at": "2025-02-20T19:04:51.625Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"spatial": {
"granularity": "other",
"zones": [
"text"
],
"geom": {
"type": "Point",
"coordinates": [
{}
]
}
},
"temporal_coverage": {
"end": "2025-02-20T19:04:51.625Z",
"start": "2025-02-20T19:04:51.625Z"
},
"community_resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "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",
"role": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
],
"resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
}
}
]
}
],
"reuses": [
{
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"metrics": {},
"page": "text",
"private": true,
"slug": "text",
"title": "text",
"uri": "text",
"url": "text",
"topic": "health",
"type": "api",
"datasets": [
{
"acronym": "text",
"archived": "2025-02-20T19:04:51.625Z",
"created_at": "2025-02-20T19:04:51.625Z",
"deleted": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"featured": true,
"frequency_date": "2025-02-20T19:04:51.625Z",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"last_update": "2025-02-20T19:04:51.625Z",
"license": "notspecified",
"metrics": {},
"page": "text",
"private": true,
"quality": {},
"slug": "text",
"title": "text",
"uri": "text",
"frequency": "unknown",
"badges": [
{
"kind": "text"
}
],
"tags": [
"text"
],
"harvest": {
"archived": "text",
"archived_at": "2025-02-20T19:04:51.625Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2025-02-20T19:04:51.625Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"spatial": {
"granularity": "other",
"zones": [
"text"
],
"geom": {
"type": "Point",
"coordinates": [
{}
]
}
},
"temporal_coverage": {
"end": "2025-02-20T19:04:51.625Z",
"start": "2025-02-20T19:04:51.625Z"
},
"community_resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
},
"dataset": {
"class": "text",
"id": "text",
"acronym": "text",
"page": "text",
"title": "text",
"uri": "text"
},
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "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",
"role": "text",
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
],
"resources": [
{
"created_at": "2025-02-20T19:04:51.625Z",
"description": "text",
"extras": {},
"filesize": 1,
"format": "text",
"id": "text",
"last_modified": "2025-02-20T19:04:51.625Z",
"latest": "text",
"metrics": {},
"mime": "text",
"preview_url": "text",
"title": "text",
"url": "text",
"filetype": "file",
"type": "main",
"checksum": {
"value": "text",
"type": "sha1"
},
"harvest": {
"created_at": "2025-02-20T19:04:51.625Z",
"modified_at": "2025-02-20T19:04:51.625Z",
"uri": "text"
},
"internal": {
"created_at_internal": "2025-02-20T19:04:51.625Z",
"last_modified_internal": "2025-02-20T19:04:51.625Z"
},
"schema": {
"name": "text",
"url": "text",
"version": "text"
}
}
]
}
],
"tags": [
"text"
],
"organization": {
"class": "text",
"id": "text",
"acronym": "text",
"logo": "text",
"logo_thumbnail": "text",
"name": "text",
"page": "text",
"slug": "text",
"uri": "text",
"badges": [
{
"kind": "text"
}
]
},
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
},
"badges": [
{
"kind": "text"
}
]
}
],
"tags": [
"text"
],
"owner": {
"class": "text",
"id": "text",
"avatar": "text",
"avatar_thumbnail": "text",
"first_name": "text",
"last_name": "text",
"page": "text",
"slug": "text",
"uri": "text"
}
}
Success
Dernière mise à jour
Cet article vous a-t-il été utile ?