topics
Topics related operations
List all topics
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
const response = await fetch('//www.data.gouv.fr/api/1/topics/', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"data": [
{
"created_at": "2024-11-21T06:26:08.203Z",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T06:26:08.203Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"deleted": "2024-11-21T06:26:08.203Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T06:26:08.203Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T06:26:08.203Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T06:26:08.203Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"last_update": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"start": "2024-11-21T06:26:08.203Z"
},
"title": "text",
"uri": "text"
}
],
"description": "text",
"featured": false,
"id": "text",
"last_modified": "2024-11-21T06:26:08.203Z",
"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"
},
"page": "text",
"private": false,
"reuses": [
{
"archived": "2024-11-21T06:26:08.203Z",
"badges": [
{
"kind": "text"
}
],
"created_at": "2024-11-21T06:26:08.203Z",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T06:26:08.203Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"deleted": "2024-11-21T06:26:08.203Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T06:26:08.203Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T06:26:08.203Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T06:26:08.203Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"last_update": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"start": "2024-11-21T06:26:08.203Z"
},
"title": "text",
"uri": "text"
}
],
"deleted": "2024-11-21T06:26:08.203Z",
"description": "text",
"featured": false,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2024-11-21T06:26:08.203Z",
"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",
"spatial": {
"geom": {
"coordinates": [],
"type": "Point"
},
"granularity": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"uri": "text"
}
],
"next_page": "text",
"previous_page": "text"
}
Create a topic
The topic creation date
The topic datasets
The topic description in Markdown
Extras attributes as key-value pairs
Is the topic featured
The topic identifier
The topic last modification date
The topic name
The publishing organization
The owner user
The topic page URL
Is the topic private
The topic reuses
The topic permalink string
The spatial coverage
Some keywords to help in search
The topic API URI
Success
The topic creation date
The topic datasets
The topic description in Markdown
Extras attributes as key-value pairs
Is the topic featured
The topic identifier
The topic last modification date
The topic name
The publishing organization
The owner user
The topic page URL
Is the topic private
The topic reuses
The topic permalink string
The spatial coverage
Some keywords to help in search
The topic API URI
const response = await fetch('//www.data.gouv.fr/api/1/topics/', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"description": "text",
"name": "text",
"tags": [
"text"
]
}),
});
const data = await response.json();
{
"created_at": "2024-11-21T06:26:08.203Z",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T06:26:08.203Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"deleted": "2024-11-21T06:26:08.203Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T06:26:08.203Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T06:26:08.203Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T06:26:08.203Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"last_update": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"start": "2024-11-21T06:26:08.203Z"
},
"title": "text",
"uri": "text"
}
],
"description": "text",
"featured": false,
"id": "text",
"last_modified": "2024-11-21T06:26:08.203Z",
"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"
},
"page": "text",
"private": false,
"reuses": [
{
"archived": "2024-11-21T06:26:08.203Z",
"badges": [
{
"kind": "text"
}
],
"created_at": "2024-11-21T06:26:08.203Z",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T06:26:08.203Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"deleted": "2024-11-21T06:26:08.203Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T06:26:08.203Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T06:26:08.203Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T06:26:08.203Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"last_update": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"start": "2024-11-21T06:26:08.203Z"
},
"title": "text",
"uri": "text"
}
],
"deleted": "2024-11-21T06:26:08.203Z",
"description": "text",
"featured": false,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2024-11-21T06:26:08.203Z",
"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",
"spatial": {
"geom": {
"coordinates": [],
"type": "Point"
},
"granularity": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"uri": "text"
}
Get a given topic
The topic ID or slug
Success
The topic creation date
The topic datasets
The topic description in Markdown
Extras attributes as key-value pairs
Is the topic featured
The topic identifier
The topic last modification date
The topic name
The publishing organization
The owner user
The topic page URL
Is the topic private
The topic reuses
The topic permalink string
The spatial coverage
Some keywords to help in search
The topic API URI
const response = await fetch('//www.data.gouv.fr/api/1/topics/{topic}/', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"created_at": "2024-11-21T06:26:08.203Z",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T06:26:08.203Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"deleted": "2024-11-21T06:26:08.203Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T06:26:08.203Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T06:26:08.203Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T06:26:08.203Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"last_update": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"start": "2024-11-21T06:26:08.203Z"
},
"title": "text",
"uri": "text"
}
],
"description": "text",
"featured": false,
"id": "text",
"last_modified": "2024-11-21T06:26:08.203Z",
"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"
},
"page": "text",
"private": false,
"reuses": [
{
"archived": "2024-11-21T06:26:08.203Z",
"badges": [
{
"kind": "text"
}
],
"created_at": "2024-11-21T06:26:08.203Z",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T06:26:08.203Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"deleted": "2024-11-21T06:26:08.203Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T06:26:08.203Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T06:26:08.203Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T06:26:08.203Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"last_update": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"start": "2024-11-21T06:26:08.203Z"
},
"title": "text",
"uri": "text"
}
],
"deleted": "2024-11-21T06:26:08.203Z",
"description": "text",
"featured": false,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2024-11-21T06:26:08.203Z",
"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",
"spatial": {
"geom": {
"coordinates": [],
"type": "Point"
},
"granularity": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"uri": "text"
}
Update a given topic
The topic ID or slug
The topic creation date
The topic datasets
The topic description in Markdown
Extras attributes as key-value pairs
Is the topic featured
The topic identifier
The topic last modification date
The topic name
The publishing organization
The owner user
The topic page URL
Is the topic private
The topic reuses
The topic permalink string
The spatial coverage
Some keywords to help in search
The topic API URI
Success
The topic creation date
The topic datasets
The topic description in Markdown
Extras attributes as key-value pairs
Is the topic featured
The topic identifier
The topic last modification date
The topic name
The publishing organization
The owner user
The topic page URL
Is the topic private
The topic reuses
The topic permalink string
The spatial coverage
Some keywords to help in search
The topic API URI
const response = await fetch('//www.data.gouv.fr/api/1/topics/{topic}/', {
method: 'PUT',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"description": "text",
"name": "text",
"tags": [
"text"
]
}),
});
const data = await response.json();
{
"created_at": "2024-11-21T06:26:08.203Z",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T06:26:08.203Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"deleted": "2024-11-21T06:26:08.203Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T06:26:08.203Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T06:26:08.203Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T06:26:08.203Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"last_update": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"start": "2024-11-21T06:26:08.203Z"
},
"title": "text",
"uri": "text"
}
],
"description": "text",
"featured": false,
"id": "text",
"last_modified": "2024-11-21T06:26:08.203Z",
"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"
},
"page": "text",
"private": false,
"reuses": [
{
"archived": "2024-11-21T06:26:08.203Z",
"badges": [
{
"kind": "text"
}
],
"created_at": "2024-11-21T06:26:08.203Z",
"datasets": [
{
"acronym": "text",
"archived": "2024-11-21T06:26:08.203Z",
"badges": [
{
"kind": "text"
}
],
"community_resources": [
{
"checksum": {
"type": "sha1",
"value": "text"
},
"created_at": "2024-11-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"deleted": "2024-11-21T06:26:08.203Z",
"description": "text",
"featured": false,
"frequency": "unknown",
"frequency_date": "2024-11-21T06:26:08.203Z",
"harvest": {
"archived": "text",
"archived_at": "2024-11-21T06:26:08.203Z",
"backend": "text",
"ckan_name": "text",
"ckan_source": "text",
"created_at": "2024-11-21T06:26:08.203Z",
"dct_identifier": "text",
"domain": "text",
"last_update": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"remote_id": "text",
"remote_url": "text",
"source_id": "text",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"last_update": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"description": "text",
"filetype": "file",
"format": "text",
"harvest": {
"created_at": "2024-11-21T06:26:08.203Z",
"modified_at": "2024-11-21T06:26:08.203Z",
"uri": "text"
},
"id": "text",
"internal": {
"created_at_internal": "2024-11-21T06:26:08.203Z",
"last_modified_internal": "2024-11-21T06:26:08.203Z"
},
"last_modified": "2024-11-21T06:26:08.203Z",
"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-21T06:26:08.203Z",
"start": "2024-11-21T06:26:08.203Z"
},
"title": "text",
"uri": "text"
}
],
"deleted": "2024-11-21T06:26:08.203Z",
"description": "text",
"featured": false,
"id": "text",
"image": "text",
"image_thumbnail": "text",
"last_modified": "2024-11-21T06:26:08.203Z",
"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",
"spatial": {
"geom": {
"coordinates": [],
"type": "Point"
},
"granularity": "other",
"zones": [
"text"
]
},
"tags": [
"text"
],
"uri": "text"
}
Delete a given topic
The topic ID or slug
Object deleted
const response = await fetch('//www.data.gouv.fr/api/1/topics/{topic}/', {
method: 'DELETE',
headers: {},
});
const data = await response.json();
Dernière mise à jour