Closed batpad closed 6 years ago
So we're consistent across endpoints, I'll be implementing versioning in the tags PR as
GET /:version/projects/:project/items/:items/tags
where :version
must match the ^v\d+$
RegEx pattern.
I feel good about this. Closing.
There's a couple of fundamental changes to the API structure that we should consider prioritizing before we go live with this, to minimize any confusion:
items
endpoint return just an array of items, or an object with like{ 'items': [] }
- the advantage to the nested object is that it makes it easy for us to add additional properties likecount
down the line.Both these would be breaking changes for consumers, and I strongly propose we do them sooner rather than later.
cc @emilymdubois @samanpwbb @coxchapman