About the Projects REST API category


#1

This category is for discussing our Projects REST API Early Access program. This allows you to interact with the new Projects feature on GitHub.


#2

Move a Projects Column returns less than normal http status

In most cases of the api, performing an action returns a 204 status normally.

In the case of move a projects column, it is returning 201 created. Sure in a sense the move is created, but it would make more sense to return success or failure based on the move.

https://developer.github.com/v3/projects/columns/#move-a-project-column
https://developer.github.com/v3/activity/starring/#star-a-repository


#3

:wave: @joeyw,

Thanks for the comment. I agree that relative to prior art in the API a 201 is surprising given there is no body returned for the move endpoint. Our original intentions were to have a move be more of a resource, and return something like, say, the position. Obviously that’s not implemented right now, but may be in the future.