Skip to content
This repository was archived by the owner on Sep 3, 2026. It is now read-only.

Changed rest routes pattern - #11

Open
bdunogier wants to merge 2 commits into
1.0from
rest_routes
Open

bdunogier wants to merge 2 commits into
1.0from
rest_routes

Conversation

@bdunogier

@bdunogier bdunogier commented Dec 20, 2019

Copy link
Copy Markdown
  • /content/objects/{contentId}/versions/{versionNo}/fields/{identifier}/items lists the results for the given version of the content item
  • /content/objects/{contentId}/currentversion/fields/{identifier}/items redirects to the other route with the current version number

TODO

  • What about route pattern conflicts ? The route above, besides the "items" part isn't specific to the query field. Isn't there a high chance of conflicts at some point ?

Bertrand Dunogier added 2 commits December 20, 2019 17:19
- /content/objects/{contentId}/currentversion/fields/{identifier}/items redirects to the other route, with the current version number
- /content/objects/{contentId}/versions/{versionNo}/fields/{identifier}/items lists the items
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant