Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POST a new collection should return the newly created collection #10

Closed
balmas opened this issue May 9, 2017 · 2 comments
Closed

POST a new collection should return the newly created collection #10

balmas opened this issue May 9, 2017 · 2 comments
Assignees

Comments

@balmas
Copy link
Contributor

balmas commented May 9, 2017

If the service is minting identifiers, it will be necessary to return the newly added collection so the clients can find out what id was assigned. But it is potentially problematic for implementations which are asynchronous.

@balmas balmas changed the title POST a new collection and memberitem should return the newly added item POST a new collection should return the newly created item Jun 13, 2017
@balmas balmas changed the title POST a new collection should return the newly created item POST a new collection should return the newly created collection Jun 13, 2017
@balmas
Copy link
Contributor Author

balmas commented Jun 13, 2017

we will change POST memberitem response too for consistency

@fbaumgardt
Copy link
Member

If I'm not mistaken this has been in place all along, i.e. https://github.com/RDACollectionsWG/apidocs/blob/master/swagger.yaml#L103 and https://github.com/RDACollectionsWG/apidocs/blob/master/swagger.yaml#L536. It will need to be updated to reflect the change to creating multiple objects in a single call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants