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

add content to response of post /project/{project_id}/inventory #289

Merged
merged 4 commits into from
Mar 11, 2017
Merged

add content to response of post /project/{project_id}/inventory #289

merged 4 commits into from
Mar 11, 2017

Conversation

laeshiny
Copy link
Contributor

implement #279

add content to response of post /project/{project_id}/inventory

Copy link
Contributor

@matejkramny matejkramny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Should return HTTP 201 (Created)
  • The inventory call should assign the ID to the inventory object and return that instead of recreating

- add an inventory id to the response content
- replace the response code to 201 (Created)
@laeshiny
Copy link
Contributor Author

laeshiny commented Mar 11, 2017

Thank you for your review.
I corrected what you reviewed.

@matejkramny matejkramny merged commit 51c7ea8 into semaphoreui:develop Mar 11, 2017
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

Successfully merging this pull request may close these issues.

2 participants