Skip to content

Adding extra images to an item #1150

Closed Answered by benjaminjonard
azuravian asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, the process is as you described. Maybe there is something missing in your data. Here's a working example:

1/ Create the data with POST https://localhost:81/api/data

{
  "item": "/api/items/018ffc08-c6ff-78ca-95aa-62ccd206808d",  
  "type": "image",
  "label": "Test image"
}

it should returns something like this

{
	"id": "018ffc0e-1a1d-7cb2-a0c3-c6b6c5d4ac35",
	"item": "\/api\/items\/018ffc08-c6ff-78ca-95aa-62ccd206808d",
	"collection": null,
	"type": "image",
	"label": "Test image",
	"value": null,
	"position": null,
	"image": null,
	"imageSmallThumbnail": null,
	"imageLargeThumbnail": null,
	"file": null,
	"video": null,
	"originalFilename": null,
	"choiceList": null,
	"owner": "…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by azuravian
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants