Map
post/api/maps

Request

  • Base URL: https://macarte.ign.fr
  • URL: https://macarte.ign.fr/api/maps
  • Auth: HTTP bearer

Response

Attributs de la carte créée

titlestring required

Titre de la carte

title_urlstring required

Titre de la carte, adapté pour etre utilisé dans les url

descriptionstring nullable required

Description de la carte

themestring nullable required

Thème lié à la carte

theme_idinteger nullable required

Id du thème

organizationstring nullable required

Nom de l'organisation

organization_idstring required

Identifiant de l'organisation

organization_namestring required

Nom de l'organisation

typestring required

Type de la carte ('macarte', 'mesadresses', statistic', storymap')

premiumstring required

Premium de la carte ('default', 'edugeo')

activeboolean required

Carte active

validboolean required

Carte valide

created_atstring date-time required

Date de création de la carte

updated_atstring date-time required

Dernière date de mise à jour de la carte

nb_viewinteger required

Nombre total de vues

img_urlstring nullable required

URI de l'image. Peut être une chaîne vide.

sharestring required

Publication de la carte ('atlas', 'public', 'private')

bboxnumber[] required

Emprise visible de la carte (haut, droite, bas, gauche)

view_idstring required

Id utilisé pour la visualisation

view_urlstring uri required

Lien vers la visualisation de la carte

edit_idstring nullable

Id utilisé pour l'édition, renvoyé uniquement si l'utilisateur peut éditer la carte

userstring required

Nom public du dernier éditeur de la carte

user_idstring required

Identifiant public du dernier éditeur de la carte

authorstring required

Nom public de l'auteur de la carte

author_idstring required

Identifiant public de l'auteur de la carte

data_urlstring uri required

lien vers le contenu de la carte

data_edit_urlstring uri nullable

lien vers l'édition du contenu de la carte, renvoyé uniquement si l'utilisateur peut éditer la carte

editorstring nullable

utilisateur qui a modifié le contenu, renvoyé uniquement si l'utilisateur peut éditer la carte

Changes

    • breaking

      the request property / became not nullable

    • breaking

      the request property / became required

    • breaking

      the request property / became required

    • breaking

      the request property / became required

    • breaking

      the request property / became required

    • breaking

      the request property / became required

    • breaking

      the request property / became required

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the //// response's property format changed from uri to no format for status

    • warning

      removed the optional property / from the response with the status

    • info

      the request property default value changed from private to public

    • info

      the request property default value null was removed

    • info

      the request property default value default was removed

    • info

      the / request property format was generalized from uri to no format

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property / became required for the status

    • info

      added the required property //// to the response with the status

    • info

      added the required property //// to the response with the status

    • info

      added the required property //// to the response with the status

    • info

      added the required property //// to the response with the status

    • info

      added the required property //// to the response with the status

    • info

      added the required property //// to the response with the status

    • breaking

      the response's property type changed from no type to object for status

    • info

      api operation id b595620ac876211c6c59378b38586211 removed and replaced with postMap