Artifact

add a new item to an artifact (Auth policies: artifact:modify)

put/api/artifacts/item/{artifactFriendlyUrl}

Request

  • Base URL
    https://api.ganjoor.net (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header Authorization

Path parameters

artifactFriendlyUrlstring required

Request body multipart/form-data

jpegstring binary

Response

OK

idstring uuid

Id

rArtifactMasterRecordIdstring uuid

parent id

orderinteger

Order in Collections

friendlyUrlstring nullable

Friendly Url

namestring nullable

Name

nameInEnglishstring nullable

Name In English

descriptionstring nullable

Description

descriptionInEnglishstring nullable

Description In English

coverImageIndexinteger

Main Image

lastModifiedstring date-time

Last Modified for caching purposes

Example response

{
  "images": [
    {
      "folderName": "2017-08",
      "storedFileName": "85007253-09f2-4434-8b7e-1a23db2cd9c9.png",
      "normalSizeImageStoredFileName": "\r\n            e0d7050a-7e30-4a2f-b181-0daa4a1e1068.jpg\r\n            ",
      "thumbnailImageStoredFileName": "\r\n            fbe9cc8e-12fa-4cb9-8f09-bbf353333383.jpg\r\n            "
    }
  ]
}

Changes

No recorded changes to this operation across all 43 revisions of this API.