topics

Topics related operations

List all topics

GET//www.data.gouv.fr/api/1/topics/
Query parameters
Header parameters
Response

Success

Body
dataarray of Topic (object)

The page data

next_pagestring

The next page URL if exists

page*integer

The current page

page_size*integer

The page size used for pagination

previous_pagestring

The previous page URL if exists

total*integer

The total paginated items

Request
const response = await fetch('//www.data.gouv.fr/api/1/topics/', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "data": [
    {
      "created_at": "2024-10-23T15:30:57.887Z",
      "datasets": [
        {
          "acronym": "text",
          "archived": "2024-10-23T15:30:57.887Z",
          "badges": [
            {
              "kind": "text"
            }
          ],
          "community_resources": [
            {
              "checksum": {
                "type": "sha1",
                "value": "text"
              },
              "created_at": "2024-10-23T15:30:57.887Z",
              "description": "text",
              "filetype": "file",
              "format": "text",
              "harvest": {
                "created_at": "2024-10-23T15:30:57.887Z",
                "modified_at": "2024-10-23T15:30:57.887Z",
                "uri": "text"
              },
              "id": "text",
              "internal": {
                "created_at_internal": "2024-10-23T15:30:57.887Z",
                "last_modified_internal": "2024-10-23T15:30:57.887Z"
              },
              "last_modified": "2024-10-23T15:30:57.887Z",
              "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": {
            "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-10-23T15:30:57.887Z",
          "deleted": "2024-10-23T15:30:57.887Z",
          "description": "text",
          "featured": false,
          "frequency": "unknown",
          "frequency_date": "2024-10-23T15:30:57.887Z",
          "harvest": {
            "archived": "text",
            "archived_at": "2024-10-23T15:30:57.887Z",
            "backend": "text",
            "ckan_name": "text",
            "ckan_source": "text",
            "created_at": "2024-10-23T15:30:57.887Z",
            "dct_identifier": "text",
            "domain": "text",
            "last_update": "2024-10-23T15:30:57.887Z",
            "modified_at": "2024-10-23T15:30:57.887Z",
            "remote_id": "text",
            "remote_url": "text",
            "source_id": "text",
            "uri": "text"
          },
          "id": "text",
          "internal": {
            "created_at_internal": "2024-10-23T15:30:57.887Z",
            "last_modified_internal": "2024-10-23T15:30:57.887Z"
          },
          "last_modified": "2024-10-23T15:30:57.887Z",
          "last_update": "2024-10-23T15:30:57.887Z",
          "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-10-23T15:30:57.887Z",
              "description": "text",
              "filetype": "file",
              "format": "text",
              "harvest": {
                "created_at": "2024-10-23T15:30:57.887Z",
                "modified_at": "2024-10-23T15:30:57.887Z",
                "uri": "text"
              },
              "id": "text",
              "internal": {
                "created_at_internal": "2024-10-23T15:30:57.887Z",
                "last_modified_internal": "2024-10-23T15:30:57.887Z"
              },
              "last_modified": "2024-10-23T15:30:57.887Z",
              "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-10-23T15:30:57.887Z",
            "start": "2024-10-23T15:30:57.887Z"
          },
          "title": "text",
          "uri": "text"
        }
      ],
      "description": "text",
      "featured": false,
      "id": "text",
      "last_modified": "2024-10-23T15:30:57.887Z",
      "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-10-23T15:30:57.887Z",
          "badges": [
            {
              "kind": "text"
            }
          ],
          "created_at": "2024-10-23T15:30:57.887Z",
          "datasets": [
            {
              "acronym": "text",
              "archived": "2024-10-23T15:30:57.887Z",
              "badges": [
                {
                  "kind": "text"
                }
              ],
              "community_resources": [
                {
                  "checksum": {
                    "type": "sha1",
                    "value": "text"
                  },
                  "created_at": "2024-10-23T15:30:57.887Z",
                  "description": "text",
                  "filetype": "file",
                  "format": "text",
                  "harvest": {
                    "created_at": "2024-10-23T15:30:57.887Z",
                    "modified_at": "2024-10-23T15:30:57.887Z",
                    "uri": "text"
                  },
                  "id": "text",
                  "internal": {
                    "created_at_internal": "2024-10-23T15:30:57.887Z",
                    "last_modified_internal": "2024-10-23T15:30:57.887Z"
                  },
                  "last_modified": "2024-10-23T15:30:57.887Z",
                  "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": {
                "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-10-23T15:30:57.887Z",
              "deleted": "2024-10-23T15:30:57.887Z",
              "description": "text",
              "featured": false,
              "frequency": "unknown",
              "frequency_date": "2024-10-23T15:30:57.887Z",
              "harvest": {
                "archived": "text",
                "archived_at": "2024-10-23T15:30:57.887Z",
                "backend": "text",
                "ckan_name": "text",
                "ckan_source": "text",
                "created_at": "2024-10-23T15:30:57.887Z",
                "dct_identifier": "text",
                "domain": "text",
                "last_update": "2024-10-23T15:30:57.887Z",
                "modified_at": "2024-10-23T15:30:57.887Z",
                "remote_id": "text",
                "remote_url": "text",
                "source_id": "text",
                "uri": "text"
              },
              "id": "text",
              "internal": {
                "created_at_internal": "2024-10-23T15:30:57.887Z",
                "last_modified_internal": "2024-10-23T15:30:57.887Z"
              },
              "last_modified": "2024-10-23T15:30:57.887Z",
              "last_update": "2024-10-23T15:30:57.887Z",
              "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-10-23T15:30:57.887Z",
                  "description": "text",
                  "filetype": "file",
                  "format": "text",
                  "harvest": {
                    "created_at": "2024-10-23T15:30:57.887Z",
                    "modified_at": "2024-10-23T15:30:57.887Z",
                    "uri": "text"
                  },
                  "id": "text",
                  "internal": {
                    "created_at_internal": "2024-10-23T15:30:57.887Z",
                    "last_modified_internal": "2024-10-23T15:30:57.887Z"
                  },
                  "last_modified": "2024-10-23T15:30:57.887Z",
                  "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-10-23T15:30:57.887Z",
                "start": "2024-10-23T15:30:57.887Z"
              },
              "title": "text",
              "uri": "text"
            }
          ],
          "deleted": "2024-10-23T15:30:57.887Z",
          "description": "text",
          "featured": false,
          "id": "text",
          "image": "text",
          "image_thumbnail": "text",
          "last_modified": "2024-10-23T15:30:57.887Z",
          "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

POST//www.data.gouv.fr/api/1/topics/
Header parameters
Body
created_atstring (date-time)

The topic creation date

datasetsarray of Dataset (object)

The topic datasets

description*string (markdown)

The topic description in Markdown

extrasobject

Extras attributes as key-value pairs

featuredboolean

Is the topic featured

idstring

The topic identifier

last_modifiedstring (date-time)

The topic last modification date

name*string

The topic name

organizationall of

The publishing organization

ownerall of

The owner user

pagestring

The topic page URL

privateboolean

Is the topic private

reusesarray of Reuse_read_ (object)

The topic reuses

slugstring

The topic permalink string

spatialall of

The spatial coverage

tags*array of string

Some keywords to help in search

uristring

The topic API URI

Response

Success

Body
created_atstring (date-time)

The topic creation date

datasetsarray of Dataset (object)

The topic datasets

description*string (markdown)

The topic description in Markdown

extrasobject

Extras attributes as key-value pairs

featuredboolean

Is the topic featured

idstring

The topic identifier

last_modifiedstring (date-time)

The topic last modification date

name*string

The topic name

organizationall of

The publishing organization

ownerall of

The owner user

pagestring

The topic page URL

privateboolean

Is the topic private

reusesarray of Reuse_read_ (object)

The topic reuses

slugstring

The topic permalink string

spatialall of

The spatial coverage

tags*array of string

Some keywords to help in search

uristring

The topic API URI

Request
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();
Response
{
  "created_at": "2024-10-23T15:30:57.887Z",
  "datasets": [
    {
      "acronym": "text",
      "archived": "2024-10-23T15:30:57.887Z",
      "badges": [
        {
          "kind": "text"
        }
      ],
      "community_resources": [
        {
          "checksum": {
            "type": "sha1",
            "value": "text"
          },
          "created_at": "2024-10-23T15:30:57.887Z",
          "description": "text",
          "filetype": "file",
          "format": "text",
          "harvest": {
            "created_at": "2024-10-23T15:30:57.887Z",
            "modified_at": "2024-10-23T15:30:57.887Z",
            "uri": "text"
          },
          "id": "text",
          "internal": {
            "created_at_internal": "2024-10-23T15:30:57.887Z",
            "last_modified_internal": "2024-10-23T15:30:57.887Z"
          },
          "last_modified": "2024-10-23T15:30:57.887Z",
          "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": {
        "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-10-23T15:30:57.887Z",
      "deleted": "2024-10-23T15:30:57.887Z",
      "description": "text",
      "featured": false,
      "frequency": "unknown",
      "frequency_date": "2024-10-23T15:30:57.887Z",
      "harvest": {
        "archived": "text",
        "archived_at": "2024-10-23T15:30:57.887Z",
        "backend": "text",
        "ckan_name": "text",
        "ckan_source": "text",
        "created_at": "2024-10-23T15:30:57.887Z",
        "dct_identifier": "text",
        "domain": "text",
        "last_update": "2024-10-23T15:30:57.887Z",
        "modified_at": "2024-10-23T15:30:57.887Z",
        "remote_id": "text",
        "remote_url": "text",
        "source_id": "text",
        "uri": "text"
      },
      "id": "text",
      "internal": {
        "created_at_internal": "2024-10-23T15:30:57.887Z",
        "last_modified_internal": "2024-10-23T15:30:57.887Z"
      },
      "last_modified": "2024-10-23T15:30:57.887Z",
      "last_update": "2024-10-23T15:30:57.887Z",
      "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-10-23T15:30:57.887Z",
          "description": "text",
          "filetype": "file",
          "format": "text",
          "harvest": {
            "created_at": "2024-10-23T15:30:57.887Z",
            "modified_at": "2024-10-23T15:30:57.887Z",
            "uri": "text"
          },
          "id": "text",
          "internal": {
            "created_at_internal": "2024-10-23T15:30:57.887Z",
            "last_modified_internal": "2024-10-23T15:30:57.887Z"
          },
          "last_modified": "2024-10-23T15:30:57.887Z",
          "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-10-23T15:30:57.887Z",
        "start": "2024-10-23T15:30:57.887Z"
      },
      "title": "text",
      "uri": "text"
    }
  ],
  "description": "text",
  "featured": false,
  "id": "text",
  "last_modified": "2024-10-23T15:30:57.887Z",
  "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-10-23T15:30:57.887Z",
      "badges": [
        {
          "kind": "text"
        }
      ],
      "created_at": "2024-10-23T15:30:57.887Z",
      "datasets": [
        {
          "acronym": "text",
          "archived": "2024-10-23T15:30:57.887Z",
          "badges": [
            {
              "kind": "text"
            }
          ],
          "community_resources": [
            {
              "checksum": {
                "type": "sha1",
                "value": "text"
              },
              "created_at": "2024-10-23T15:30:57.887Z",
              "description": "text",
              "filetype": "file",
              "format": "text",
              "harvest": {
                "created_at": "2024-10-23T15:30:57.887Z",
                "modified_at": "2024-10-23T15:30:57.887Z",
                "uri": "text"
              },
              "id": "text",
              "internal": {
                "created_at_internal": "2024-10-23T15:30:57.887Z",
                "last_modified_internal": "2024-10-23T15:30:57.887Z"
              },
              "last_modified": "2024-10-23T15:30:57.887Z",
              "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": {
            "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-10-23T15:30:57.887Z",
          "deleted": "2024-10-23T15:30:57.887Z",
          "description": "text",
          "featured": false,
          "frequency": "unknown",
          "frequency_date": "2024-10-23T15:30:57.887Z",
          "harvest": {
            "archived": "text",
            "archived_at": "2024-10-23T15:30:57.887Z",
            "backend": "text",
            "ckan_name": "text",
            "ckan_source": "text",
            "created_at": "2024-10-23T15:30:57.887Z",
            "dct_identifier": "text",
            "domain": "text",
            "last_update": "2024-10-23T15:30:57.887Z",
            "modified_at": "2024-10-23T15:30:57.887Z",
            "remote_id": "text",
            "remote_url": "text",
            "source_id": "text",
            "uri": "text"
          },
          "id": "text",
          "internal": {
            "created_at_internal": "2024-10-23T15:30:57.887Z",
            "last_modified_internal": "2024-10-23T15:30:57.887Z"
          },
          "last_modified": "2024-10-23T15:30:57.887Z",
          "last_update": "2024-10-23T15:30:57.887Z",
          "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-10-23T15:30:57.887Z",
              "description": "text",
              "filetype": "file",
              "format": "text",
              "harvest": {
                "created_at": "2024-10-23T15:30:57.887Z",
                "modified_at": "2024-10-23T15:30:57.887Z",
                "uri": "text"
              },
              "id": "text",
              "internal": {
                "created_at_internal": "2024-10-23T15:30:57.887Z",
                "last_modified_internal": "2024-10-23T15:30:57.887Z"
              },
              "last_modified": "2024-10-23T15:30:57.887Z",
              "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-10-23T15:30:57.887Z",
            "start": "2024-10-23T15:30:57.887Z"
          },
          "title": "text",
          "uri": "text"
        }
      ],
      "deleted": "2024-10-23T15:30:57.887Z",
      "description": "text",
      "featured": false,
      "id": "text",
      "image": "text",
      "image_thumbnail": "text",
      "last_modified": "2024-10-23T15:30:57.887Z",
      "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

GET//www.data.gouv.fr/api/1/topics/{topic}/
Path parameters
topic*string

The topic ID or slug

Header parameters
Response

Success

Body
created_atstring (date-time)

The topic creation date

datasetsarray of Dataset (object)

The topic datasets

description*string (markdown)

The topic description in Markdown

extrasobject

Extras attributes as key-value pairs

featuredboolean

Is the topic featured

idstring

The topic identifier

last_modifiedstring (date-time)

The topic last modification date

name*string

The topic name

organizationall of

The publishing organization

ownerall of

The owner user

pagestring

The topic page URL

privateboolean

Is the topic private

reusesarray of Reuse_read_ (object)

The topic reuses

slugstring

The topic permalink string

spatialall of

The spatial coverage

tags*array of string

Some keywords to help in search

uristring

The topic API URI

Request
const response = await fetch('//www.data.gouv.fr/api/1/topics/{topic}/', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "created_at": "2024-10-23T15:30:57.887Z",
  "datasets": [
    {
      "acronym": "text",
      "archived": "2024-10-23T15:30:57.887Z",
      "badges": [
        {
          "kind": "text"
        }
      ],
      "community_resources": [
        {
          "checksum": {
            "type": "sha1",
            "value": "text"
          },
          "created_at": "2024-10-23T15:30:57.887Z",
          "description": "text",
          "filetype": "file",
          "format": "text",
          "harvest": {
            "created_at": "2024-10-23T15:30:57.887Z",
            "modified_at": "2024-10-23T15:30:57.887Z",
            "uri": "text"
          },
          "id": "text",
          "internal": {
            "created_at_internal": "2024-10-23T15:30:57.887Z",
            "last_modified_internal": "2024-10-23T15:30:57.887Z"
          },
          "last_modified": "2024-10-23T15:30:57.887Z",
          "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": {
        "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-10-23T15:30:57.887Z",
      "deleted": "2024-10-23T15:30:57.887Z",
      "description": "text",
      "featured": false,
      "frequency": "unknown",
      "frequency_date": "2024-10-23T15:30:57.887Z",
      "harvest": {
        "archived": "text",
        "archived_at": "2024-10-23T15:30:57.887Z",
        "backend": "text",
        "ckan_name": "text",
        "ckan_source": "text",
        "created_at": "2024-10-23T15:30:57.887Z",
        "dct_identifier": "text",
        "domain": "text",
        "last_update": "2024-10-23T15:30:57.887Z",
        "modified_at": "2024-10-23T15:30:57.887Z",
        "remote_id": "text",
        "remote_url": "text",
        "source_id": "text",
        "uri": "text"
      },
      "id": "text",
      "internal": {
        "created_at_internal": "2024-10-23T15:30:57.887Z",
        "last_modified_internal": "2024-10-23T15:30:57.887Z"
      },
      "last_modified": "2024-10-23T15:30:57.887Z",
      "last_update": "2024-10-23T15:30:57.887Z",
      "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-10-23T15:30:57.887Z",
          "description": "text",
          "filetype": "file",
          "format": "text",
          "harvest": {
            "created_at": "2024-10-23T15:30:57.887Z",
            "modified_at": "2024-10-23T15:30:57.887Z",
            "uri": "text"
          },
          "id": "text",
          "internal": {
            "created_at_internal": "2024-10-23T15:30:57.887Z",
            "last_modified_internal": "2024-10-23T15:30:57.887Z"
          },
          "last_modified": "2024-10-23T15:30:57.887Z",
          "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-10-23T15:30:57.887Z",
        "start": "2024-10-23T15:30:57.887Z"
      },
      "title": "text",
      "uri": "text"
    }
  ],
  "description": "text",
  "featured": false,
  "id": "text",
  "last_modified": "2024-10-23T15:30:57.887Z",
  "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-10-23T15:30:57.887Z",
      "badges": [
        {
          "kind": "text"
        }
      ],
      "created_at": "2024-10-23T15:30:57.887Z",
      "datasets": [
        {
          "acronym": "text",
          "archived": "2024-10-23T15:30:57.887Z",
          "badges": [
            {
              "kind": "text"
            }
          ],
          "community_resources": [
            {
              "checksum": {
                "type": "sha1",
                "value": "text"
              },
              "created_at": "2024-10-23T15:30:57.887Z",
              "description": "text",
              "filetype": "file",
              "format": "text",
              "harvest": {
                "created_at": "2024-10-23T15:30:57.887Z",
                "modified_at": "2024-10-23T15:30:57.887Z",
                "uri": "text"
              },
              "id": "text",
              "internal": {
                "created_at_internal": "2024-10-23T15:30:57.887Z",
                "last_modified_internal": "2024-10-23T15:30:57.887Z"
              },
              "last_modified": "2024-10-23T15:30:57.887Z",
              "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": {
            "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-10-23T15:30:57.887Z",
          "deleted": "2024-10-23T15:30:57.887Z",
          "description": "text",
          "featured": false,
          "frequency": "unknown",
          "frequency_date": "2024-10-23T15:30:57.887Z",
          "harvest": {
            "archived": "text",
            "archived_at": "2024-10-23T15:30:57.887Z",
            "backend": "text",
            "ckan_name": "text",
            "ckan_source": "text",
            "created_at": "2024-10-23T15:30:57.887Z",
            "dct_identifier": "text",
            "domain": "text",
            "last_update": "2024-10-23T15:30:57.887Z",
            "modified_at": "2024-10-23T15:30:57.887Z",
            "remote_id": "text",
            "remote_url": "text",
            "source_id": "text",
            "uri": "text"
          },
          "id": "text",
          "internal": {
            "created_at_internal": "2024-10-23T15:30:57.887Z",
            "last_modified_internal": "2024-10-23T15:30:57.887Z"
          },
          "last_modified": "2024-10-23T15:30:57.887Z",
          "last_update": "2024-10-23T15:30:57.887Z",
          "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-10-23T15:30:57.887Z",
              "description": "text",
              "filetype": "file",
              "format": "text",
              "harvest": {
                "created_at": "2024-10-23T15:30:57.887Z",
                "modified_at": "2024-10-23T15:30:57.887Z",
                "uri": "text"
              },
              "id": "text",
              "internal": {
                "created_at_internal": "2024-10-23T15:30:57.887Z",
                "last_modified_internal": "2024-10-23T15:30:57.887Z"
              },
              "last_modified": "2024-10-23T15:30:57.887Z",
              "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-10-23T15:30:57.887Z",
            "start": "2024-10-23T15:30:57.887Z"
          },
          "title": "text",
          "uri": "text"
        }
      ],
      "deleted": "2024-10-23T15:30:57.887Z",
      "description": "text",
      "featured": false,
      "id": "text",
      "image": "text",
      "image_thumbnail": "text",
      "last_modified": "2024-10-23T15:30:57.887Z",
      "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

PUT//www.data.gouv.fr/api/1/topics/{topic}/
Path parameters
topic*string

The topic ID or slug

Header parameters
Body
created_atstring (date-time)

The topic creation date

datasetsarray of Dataset (object)

The topic datasets

description*string (markdown)

The topic description in Markdown

extrasobject

Extras attributes as key-value pairs

featuredboolean

Is the topic featured

idstring

The topic identifier

last_modifiedstring (date-time)

The topic last modification date

name*string

The topic name

organizationall of

The publishing organization

ownerall of

The owner user

pagestring

The topic page URL

privateboolean

Is the topic private

reusesarray of Reuse_read_ (object)

The topic reuses

slugstring

The topic permalink string

spatialall of

The spatial coverage

tags*array of string

Some keywords to help in search

uristring

The topic API URI

Response

Success

Body
created_atstring (date-time)

The topic creation date

datasetsarray of Dataset (object)

The topic datasets

description*string (markdown)

The topic description in Markdown

extrasobject

Extras attributes as key-value pairs

featuredboolean

Is the topic featured

idstring

The topic identifier

last_modifiedstring (date-time)

The topic last modification date

name*string

The topic name

organizationall of

The publishing organization

ownerall of

The owner user

pagestring

The topic page URL

privateboolean

Is the topic private

reusesarray of Reuse_read_ (object)

The topic reuses

slugstring

The topic permalink string

spatialall of

The spatial coverage

tags*array of string

Some keywords to help in search

uristring

The topic API URI

Request
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();
Response
{
  "created_at": "2024-10-23T15:30:57.887Z",
  "datasets": [
    {
      "acronym": "text",
      "archived": "2024-10-23T15:30:57.887Z",
      "badges": [
        {
          "kind": "text"
        }
      ],
      "community_resources": [
        {
          "checksum": {
            "type": "sha1",
            "value": "text"
          },
          "created_at": "2024-10-23T15:30:57.887Z",
          "description": "text",
          "filetype": "file",
          "format": "text",
          "harvest": {
            "created_at": "2024-10-23T15:30:57.887Z",
            "modified_at": "2024-10-23T15:30:57.887Z",
            "uri": "text"
          },
          "id": "text",
          "internal": {
            "created_at_internal": "2024-10-23T15:30:57.887Z",
            "last_modified_internal": "2024-10-23T15:30:57.887Z"
          },
          "last_modified": "2024-10-23T15:30:57.887Z",
          "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": {
        "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-10-23T15:30:57.887Z",
      "deleted": "2024-10-23T15:30:57.887Z",
      "description": "text",
      "featured": false,
      "frequency": "unknown",
      "frequency_date": "2024-10-23T15:30:57.887Z",
      "harvest": {
        "archived": "text",
        "archived_at": "2024-10-23T15:30:57.887Z",
        "backend": "text",
        "ckan_name": "text",
        "ckan_source": "text",
        "created_at": "2024-10-23T15:30:57.887Z",
        "dct_identifier": "text",
        "domain": "text",
        "last_update": "2024-10-23T15:30:57.887Z",
        "modified_at": "2024-10-23T15:30:57.887Z",
        "remote_id": "text",
        "remote_url": "text",
        "source_id": "text",
        "uri": "text"
      },
      "id": "text",
      "internal": {
        "created_at_internal": "2024-10-23T15:30:57.887Z",
        "last_modified_internal": "2024-10-23T15:30:57.887Z"
      },
      "last_modified": "2024-10-23T15:30:57.887Z",
      "last_update": "2024-10-23T15:30:57.887Z",
      "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-10-23T15:30:57.887Z",
          "description": "text",
          "filetype": "file",
          "format": "text",
          "harvest": {
            "created_at": "2024-10-23T15:30:57.887Z",
            "modified_at": "2024-10-23T15:30:57.887Z",
            "uri": "text"
          },
          "id": "text",
          "internal": {
            "created_at_internal": "2024-10-23T15:30:57.887Z",
            "last_modified_internal": "2024-10-23T15:30:57.887Z"
          },
          "last_modified": "2024-10-23T15:30:57.887Z",
          "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-10-23T15:30:57.887Z",
        "start": "2024-10-23T15:30:57.887Z"
      },
      "title": "text",
      "uri": "text"
    }
  ],
  "description": "text",
  "featured": false,
  "id": "text",
  "last_modified": "2024-10-23T15:30:57.887Z",
  "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-10-23T15:30:57.887Z",
      "badges": [
        {
          "kind": "text"
        }
      ],
      "created_at": "2024-10-23T15:30:57.887Z",
      "datasets": [
        {
          "acronym": "text",
          "archived": "2024-10-23T15:30:57.887Z",
          "badges": [
            {
              "kind": "text"
            }
          ],
          "community_resources": [
            {
              "checksum": {
                "type": "sha1",
                "value": "text"
              },
              "created_at": "2024-10-23T15:30:57.887Z",
              "description": "text",
              "filetype": "file",
              "format": "text",
              "harvest": {
                "created_at": "2024-10-23T15:30:57.887Z",
                "modified_at": "2024-10-23T15:30:57.887Z",
                "uri": "text"
              },
              "id": "text",
              "internal": {
                "created_at_internal": "2024-10-23T15:30:57.887Z",
                "last_modified_internal": "2024-10-23T15:30:57.887Z"
              },
              "last_modified": "2024-10-23T15:30:57.887Z",
              "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": {
            "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-10-23T15:30:57.887Z",
          "deleted": "2024-10-23T15:30:57.887Z",
          "description": "text",
          "featured": false,
          "frequency": "unknown",
          "frequency_date": "2024-10-23T15:30:57.887Z",
          "harvest": {
            "archived": "text",
            "archived_at": "2024-10-23T15:30:57.887Z",
            "backend": "text",
            "ckan_name": "text",
            "ckan_source": "text",
            "created_at": "2024-10-23T15:30:57.887Z",
            "dct_identifier": "text",
            "domain": "text",
            "last_update": "2024-10-23T15:30:57.887Z",
            "modified_at": "2024-10-23T15:30:57.887Z",
            "remote_id": "text",
            "remote_url": "text",
            "source_id": "text",
            "uri": "text"
          },
          "id": "text",
          "internal": {
            "created_at_internal": "2024-10-23T15:30:57.887Z",
            "last_modified_internal": "2024-10-23T15:30:57.887Z"
          },
          "last_modified": "2024-10-23T15:30:57.887Z",
          "last_update": "2024-10-23T15:30:57.887Z",
          "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-10-23T15:30:57.887Z",
              "description": "text",
              "filetype": "file",
              "format": "text",
              "harvest": {
                "created_at": "2024-10-23T15:30:57.887Z",
                "modified_at": "2024-10-23T15:30:57.887Z",
                "uri": "text"
              },
              "id": "text",
              "internal": {
                "created_at_internal": "2024-10-23T15:30:57.887Z",
                "last_modified_internal": "2024-10-23T15:30:57.887Z"
              },
              "last_modified": "2024-10-23T15:30:57.887Z",
              "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-10-23T15:30:57.887Z",
            "start": "2024-10-23T15:30:57.887Z"
          },
          "title": "text",
          "uri": "text"
        }
      ],
      "deleted": "2024-10-23T15:30:57.887Z",
      "description": "text",
      "featured": false,
      "id": "text",
      "image": "text",
      "image_thumbnail": "text",
      "last_modified": "2024-10-23T15:30:57.887Z",
      "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

DELETE//www.data.gouv.fr/api/1/topics/{topic}/
Path parameters
topic*string

The topic ID or slug

Response

Object deleted

Request
const response = await fetch('//www.data.gouv.fr/api/1/topics/{topic}/', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();

Dernière mise à jour

Revision created

Update faq-cadastre.md