Media

Renvoie les medias de l'utilisateur connecté

get/api/medias

Request

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

Query parameters

namestring

Name contient cette valeur

idinteger

Identifiant du média recherché

organization_idinteger

Identifiant public de l'organisation, renvoie la liste de ses médias

validboolean

Si 'true', limite la recherche aux médias invalidés par les administrateurs

sortstring

tri des medias, parmi ['size', 'date']

offsetinteger

Le nombre d'objets à ignorer avant de commencer à collecter l'ensemble de résultats

limitinteger

Nombre maximum d'objets à retourner

Response

liste des medias

countinteger

Nombre de média correspondant à la recherche

limitinteger

Nombre de média recues dans la requete

offsetinteger

Nombre de média à passer avant de ls inclure dans la requete

Changes

    • breaking

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

    • info

      api operation id getMedias removed and replaced with getUserMedias

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the success response with the status

    • info

      api operation id ad8d1482d4c232853562cc69715b3406 removed and replaced with getMedias

    • info

      for the query request parameter sort, the type was generalized from boolean to string