esc
↑↓ velg↵ åpneesc lukk

Image API

Levert av Vestland fylkeskommune · org.nr. 821311632

Åpen26 endepunkter

Searching and fetching all images used in the NDLA platform. The Image API provides an endpoint for searching in and fetching images used in NDLA resources. Meta-data are also searched and returned in the results. Examples of meta-data are title, alt-text, language and license. The API can resize and crop transitions on the returned images to enable use in special contexts, e.g. low bandwidth scenarios

Endepunkter (26)

images V3 · 12

  • GET/image-api/v3/imagesFind images.
  • POST/image-api/v3/imagesUpload a new image with meta information.
  • GET/image-api/v3/images/external_id/{external_id}Fetch information for image by external id.
  • GET/image-api/v3/images/idsFetch images that matches ids parameter.
  • POST/image-api/v3/images/searchFind images.
  • GET/image-api/v3/images/tag-searchRetrieves a list of all previously used tags in images
  • GET/image-api/v3/images/users/editorsGet list of users that have edited images
  • DELETE/image-api/v3/images/{image_id}Deletes the specified images meta data and file
  • GET/image-api/v3/images/{image_id}Fetch information for image.
  • PATCH/image-api/v3/images/{image_id}Update an existing image with meta information.
  • POST/image-api/v3/images/{image_id}/copyCopy image meta data with a new image file
  • DELETE/image-api/v3/images/{image_id}/language/{language}Delete language version of image metadata.

images V2 · 9

  • GET/image-api/v2/imagesFind images.
  • POST/image-api/v2/imagesUpload a new image with meta information.
  • GET/image-api/v2/images/external_id/{external_id}Fetch information for image by external id.
  • POST/image-api/v2/images/searchFind images.
  • GET/image-api/v2/images/tag-searchRetrieves a list of all previously used tags in images
  • DELETE/image-api/v2/images/{image_id}Deletes the specified images meta data and file
  • GET/image-api/v2/images/{image_id}Fetch information for image.
  • PATCH/image-api/v2/images/{image_id}Update an existing image with meta information.
  • DELETE/image-api/v2/images/{image_id}/language/{language}Delete language version of image metadata.

raw · 3

  • GET/image-api/raw/id/{image_id}Fetch an image with options to resize and crop
  • GET/image-api/raw/{image_name}Fetch an image with options to resize and crop
  • GET/image-api/raw/{image_name}/{variant_size}Fetch an image variant

bulk · 2

  • POST/image-api/v1/bulkStart a bulk image upload session
  • GET/image-api/v1/bulk/status/{upload-id}Stream the status of a bulk upload session

Flere fra Vestland fylkeskommune (5)

Alle fra Vestland fylkeskommune →