posts
Posts related operations
Dernière mise à jour
Posts related operations
Dernière mise à jour
Success
The page data
The next page URL if exists
The current page
The page size used for pagination
The previous page URL if exists
The total paginated items
The post ID or slug
Object deleted
The post ID or slug
Success
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 datasets
The post headline
The post identifier
The post image
The post last modification date
The post name
The owner user
The post page URL
The post publication date
The post reuses
The post permalink string
Some keywords to help in search
The post API URI
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 datasets
The post headline
The post identifier
The post image
The post last modification date
The post name
The owner user
The post page URL
The post publication date
The post reuses
The post permalink string
Some keywords to help in search
The post API URI
Success
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 datasets
The post headline
The post identifier
The post image
The post last modification date
The post name
The owner user
The post page URL
The post publication date
The post reuses
The post permalink string
Some keywords to help in search
The post API URI
The post ID or slug
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 datasets
The post headline
The post identifier
The post image
The post last modification date
The post name
The owner user
The post page URL
The post publication date
The post reuses
The post permalink string
Some keywords to help in search
The post API URI
Success
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 datasets
The post headline
The post identifier
The post image
The post last modification date
The post name
The owner user
The post page URL
The post publication date
The post reuses
The post permalink string
Some keywords to help in search
The post API URI
Success
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 datasets
The post headline
The post identifier
The post image
The post last modification date
The post name
The owner user
The post page URL
The post publication date
The post reuses
The post permalink string
Some keywords to help in search
The post API URI
Success
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 datasets
The post headline
The post identifier
The post image
The post last modification date
The post name
The owner user
The post page URL
The post publication date
The post reuses
The post permalink string
Some keywords to help in search
The post API URI
const response = await fetch('//www.data.gouv.fr/api/1/posts/', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"data": [
{
"body_type": "markdown",
"content": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"credit_to": "text",
"credit_url": "text",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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_point": {
"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"
}
},
"created_at": "2024-11-21T12:07:33.110Z",
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T12:07:33.110Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T12:07:33.110Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"last_update": "2024-11-21T12:07:33.110Z",
"license": "notspecified",
"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": false,
"resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"temporal_coverage": {
"end": "2024-11-21T12:07:33.110Z",
"start": "2024-11-21T12:07:33.110Z"
},
"title": "text",
"uri": "text"
}
],
"headline": "text",
"id": "text",
"image": "text",
"last_modified": "2024-11-21T12:07:33.110Z",
"name": "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",
"published": "2024-11-21T12:07:33.110Z",
"reuses": [
{
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"created_at": "2024-11-21T12:07:33.110Z",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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_point": {
"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"
}
},
"created_at": "2024-11-21T12:07:33.110Z",
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T12:07:33.110Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T12:07:33.110Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"last_update": "2024-11-21T12:07:33.110Z",
"license": "notspecified",
"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": false,
"resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"temporal_coverage": {
"end": "2024-11-21T12:07:33.110Z",
"start": "2024-11-21T12:07:33.110Z"
},
"title": "text",
"uri": "text"
}
],
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2024-11-21T12:07:33.110Z",
"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": false,
"slug": "text",
"tags": [
"text"
],
"title": "text",
"topic": "health",
"type": "api",
"uri": "text",
"url": "text"
}
],
"slug": "text",
"tags": [
"text"
],
"uri": "text"
}
],
"next_page": "text",
"previous_page": "text"
}
const response = await fetch('//www.data.gouv.fr/api/1/posts/{post}/', {
method: 'DELETE',
headers: {},
});
const data = await response.json();
const response = await fetch('//www.data.gouv.fr/api/1/posts/{post}/', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"body_type": "markdown",
"content": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"credit_to": "text",
"credit_url": "text",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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_point": {
"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"
}
},
"created_at": "2024-11-21T12:07:33.110Z",
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T12:07:33.110Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T12:07:33.110Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"last_update": "2024-11-21T12:07:33.110Z",
"license": "notspecified",
"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": false,
"resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"temporal_coverage": {
"end": "2024-11-21T12:07:33.110Z",
"start": "2024-11-21T12:07:33.110Z"
},
"title": "text",
"uri": "text"
}
],
"headline": "text",
"id": "text",
"image": "text",
"last_modified": "2024-11-21T12:07:33.110Z",
"name": "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",
"published": "2024-11-21T12:07:33.110Z",
"reuses": [
{
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"created_at": "2024-11-21T12:07:33.110Z",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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_point": {
"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"
}
},
"created_at": "2024-11-21T12:07:33.110Z",
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T12:07:33.110Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T12:07:33.110Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"last_update": "2024-11-21T12:07:33.110Z",
"license": "notspecified",
"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": false,
"resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"temporal_coverage": {
"end": "2024-11-21T12:07:33.110Z",
"start": "2024-11-21T12:07:33.110Z"
},
"title": "text",
"uri": "text"
}
],
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2024-11-21T12:07:33.110Z",
"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": false,
"slug": "text",
"tags": [
"text"
],
"title": "text",
"topic": "health",
"type": "api",
"uri": "text",
"url": "text"
}
],
"slug": "text",
"tags": [
"text"
],
"uri": "text"
}
const response = await fetch('//www.data.gouv.fr/api/1/posts/', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"content": "text",
"headline": "text",
"name": "text"
}),
});
const data = await response.json();
{
"body_type": "markdown",
"content": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"credit_to": "text",
"credit_url": "text",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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_point": {
"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"
}
},
"created_at": "2024-11-21T12:07:33.110Z",
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T12:07:33.110Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T12:07:33.110Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"last_update": "2024-11-21T12:07:33.110Z",
"license": "notspecified",
"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": false,
"resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"temporal_coverage": {
"end": "2024-11-21T12:07:33.110Z",
"start": "2024-11-21T12:07:33.110Z"
},
"title": "text",
"uri": "text"
}
],
"headline": "text",
"id": "text",
"image": "text",
"last_modified": "2024-11-21T12:07:33.110Z",
"name": "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",
"published": "2024-11-21T12:07:33.110Z",
"reuses": [
{
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"created_at": "2024-11-21T12:07:33.110Z",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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_point": {
"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"
}
},
"created_at": "2024-11-21T12:07:33.110Z",
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T12:07:33.110Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T12:07:33.110Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"last_update": "2024-11-21T12:07:33.110Z",
"license": "notspecified",
"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": false,
"resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"temporal_coverage": {
"end": "2024-11-21T12:07:33.110Z",
"start": "2024-11-21T12:07:33.110Z"
},
"title": "text",
"uri": "text"
}
],
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2024-11-21T12:07:33.110Z",
"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": false,
"slug": "text",
"tags": [
"text"
],
"title": "text",
"topic": "health",
"type": "api",
"uri": "text",
"url": "text"
}
],
"slug": "text",
"tags": [
"text"
],
"uri": "text"
}
const response = await fetch('//www.data.gouv.fr/api/1/posts/{post}/', {
method: 'PUT',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"content": "text",
"headline": "text",
"name": "text"
}),
});
const data = await response.json();
{
"body_type": "markdown",
"content": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"credit_to": "text",
"credit_url": "text",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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_point": {
"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"
}
},
"created_at": "2024-11-21T12:07:33.110Z",
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T12:07:33.110Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T12:07:33.110Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"last_update": "2024-11-21T12:07:33.110Z",
"license": "notspecified",
"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": false,
"resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"temporal_coverage": {
"end": "2024-11-21T12:07:33.110Z",
"start": "2024-11-21T12:07:33.110Z"
},
"title": "text",
"uri": "text"
}
],
"headline": "text",
"id": "text",
"image": "text",
"last_modified": "2024-11-21T12:07:33.110Z",
"name": "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",
"published": "2024-11-21T12:07:33.110Z",
"reuses": [
{
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"created_at": "2024-11-21T12:07:33.110Z",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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_point": {
"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"
}
},
"created_at": "2024-11-21T12:07:33.110Z",
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T12:07:33.110Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T12:07:33.110Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"last_update": "2024-11-21T12:07:33.110Z",
"license": "notspecified",
"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": false,
"resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"temporal_coverage": {
"end": "2024-11-21T12:07:33.110Z",
"start": "2024-11-21T12:07:33.110Z"
},
"title": "text",
"uri": "text"
}
],
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2024-11-21T12:07:33.110Z",
"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": false,
"slug": "text",
"tags": [
"text"
],
"title": "text",
"topic": "health",
"type": "api",
"uri": "text",
"url": "text"
}
],
"slug": "text",
"tags": [
"text"
],
"uri": "text"
}
const response = await fetch('//www.data.gouv.fr/api/1/posts/{post}/publish', {
method: 'POST',
headers: {},
});
const data = await response.json();
{
"body_type": "markdown",
"content": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"credit_to": "text",
"credit_url": "text",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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_point": {
"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"
}
},
"created_at": "2024-11-21T12:07:33.110Z",
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T12:07:33.110Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T12:07:33.110Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"last_update": "2024-11-21T12:07:33.110Z",
"license": "notspecified",
"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": false,
"resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"temporal_coverage": {
"end": "2024-11-21T12:07:33.110Z",
"start": "2024-11-21T12:07:33.110Z"
},
"title": "text",
"uri": "text"
}
],
"headline": "text",
"id": "text",
"image": "text",
"last_modified": "2024-11-21T12:07:33.110Z",
"name": "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",
"published": "2024-11-21T12:07:33.110Z",
"reuses": [
{
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"created_at": "2024-11-21T12:07:33.110Z",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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_point": {
"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"
}
},
"created_at": "2024-11-21T12:07:33.110Z",
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T12:07:33.110Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T12:07:33.110Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"last_update": "2024-11-21T12:07:33.110Z",
"license": "notspecified",
"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": false,
"resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"temporal_coverage": {
"end": "2024-11-21T12:07:33.110Z",
"start": "2024-11-21T12:07:33.110Z"
},
"title": "text",
"uri": "text"
}
],
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2024-11-21T12:07:33.110Z",
"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": false,
"slug": "text",
"tags": [
"text"
],
"title": "text",
"topic": "health",
"type": "api",
"uri": "text",
"url": "text"
}
],
"slug": "text",
"tags": [
"text"
],
"uri": "text"
}
const response = await fetch('//www.data.gouv.fr/api/1/posts/{post}/publish', {
method: 'DELETE',
headers: {},
});
const data = await response.json();
{
"body_type": "markdown",
"content": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"credit_to": "text",
"credit_url": "text",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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_point": {
"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"
}
},
"created_at": "2024-11-21T12:07:33.110Z",
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T12:07:33.110Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T12:07:33.110Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"last_update": "2024-11-21T12:07:33.110Z",
"license": "notspecified",
"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": false,
"resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"temporal_coverage": {
"end": "2024-11-21T12:07:33.110Z",
"start": "2024-11-21T12:07:33.110Z"
},
"title": "text",
"uri": "text"
}
],
"headline": "text",
"id": "text",
"image": "text",
"last_modified": "2024-11-21T12:07:33.110Z",
"name": "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",
"published": "2024-11-21T12:07:33.110Z",
"reuses": [
{
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"created_at": "2024-11-21T12:07:33.110Z",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T12:07:33.110Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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_point": {
"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"
}
},
"created_at": "2024-11-21T12:07:33.110Z",
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T12:07:33.110Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T12:07:33.110Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T12:07:33.110Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"last_update": "2024-11-21T12:07:33.110Z",
"license": "notspecified",
"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": false,
"resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T12:07:33.110Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T12:07:33.110Z",
"modified_at": "2024-11-21T12:07:33.110Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T12:07:33.110Z",
"last_modified_internal": "2024-11-21T12:07:33.110Z"
},
"last_modified": "2024-11-21T12:07:33.110Z",
"latest": "text",
"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": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"temporal_coverage": {
"end": "2024-11-21T12:07:33.110Z",
"start": "2024-11-21T12:07:33.110Z"
},
"title": "text",
"uri": "text"
}
],
"deleted": "2024-11-21T12:07:33.110Z",
"description": "text",
"featured": false,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2024-11-21T12:07:33.110Z",
"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": false,
"slug": "text",
"tags": [
"text"
],
"title": "text",
"topic": "health",
"type": "api",
"uri": "text",
"url": "text"
}
],
"slug": "text",
"tags": [
"text"
],
"uri": "text"
}