Skip to content

Conversation

ulferts
Copy link
Contributor

@ulferts ulferts commented Sep 19, 2025

Ticket

https://community.openproject.org/wp/67278

What are you trying to accomplish?

  • Add index endpoints with full capability of the typical OP index endpoint(i.e. filtering, ordering, signaling, pagintion, ...)
    • GET api/v3/workspaces
    • GET api/v3/portfolios
    • GET api/v3/programs
  • Add show endpoints for portfolios and programs
    • GET api/v3/portfolios/:id
    • GET api/v3/programs/:id
  • Add Portfolio and Program as resources of their own.
  • Move auxiliary endpoints scoped before under api/v3/projects/:id to be under api/v3/workspaces/:id. E.g. api/v3/workspaces/:id/available_assignees. The projects routes will continue to work but the main route, linked in the representers, will be the workspaces one.
  • Change auxiliary endpoints in the representers (e.g. projects, memberships and work_packages)
  • Document added and changed routes
  • Add workspace alias to representers next to projects (e.g. memberships and work_packages)
  • Remove update and delete link from project representer or provide endpoints (move to workspaces in this case)
  • Move projects/schema to workspaces/schema
    • Change type in "parent" property
    • Change self link
  • Change context links from project to workspace

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

@ulferts ulferts force-pushed the implementation/67278-add-api-v3-workspaces branch 5 times, most recently from d34036d to 6e61255 Compare September 23, 2025 14:37
@ulferts ulferts force-pushed the implementation/67278-add-api-v3-workspaces branch from e2d0656 to 7b493d4 Compare October 2, 2025 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant