Guys, is anyone using the Dspace 7.x REST API to submit items?

I can log in and check the status normally. I've already learned the
/server/api/authn/login and /server/api/authn/status calls.

I haven't been able to submit an item yet. From what I understand, first I
authenticate and then I look for an id passing the uuid of the collection
as a parameter, through the REST call
/server/api/submission/workspaceitems?owningCollection=c57788fc-ad35-4e86-9b3c-764bad9d8bca

And then, how do I submit my form fields? With which REST call? I created a
test form with just one metadata: dc.title.

Checking how the submission process occurs in the Chrome inspector, I saw
that the REST call /server/api/submission/workspaceitems/155687 is executed
with PATCH. Wouldn't it be POST?

[image: image.png]

Does anyone have a complete example of item submission using the REST API?

Att,

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/CACKFi%2BeH36qWDN7_H_OaT4TCN%2BpH9hLw%3DnPVuwZ7Z7WAQ62ocA%40mail.gmail.com.

Reply via email to