Project API

Architecture Overview and Architecture Decision Log

  • View Public Project

  • Getting A Resource

  • Manage Project

  • Create Project

  • This is an overview how auth flows work currently.

    • Auth Token Flow

ADL

  • The column first created in a project is always the default column.
  • API Response for issues and columns is sorted by Sorting, which is the visual sorting of columns and issues in a project.
  • We’ll introduce the AccessTokenScopeCategoryProject, AccessTokenScopeReadProject and AccessTokenScopeWriteProject.
  • We use the interface delegation pattern as already done with addActionRoutes() in the api router.
  • The context now has a project field, that will be filled with ids of project, column, issue.
  • The project field in the context will be used to do permission checking in the router, so we don’t have to repeat the checks in the API functions.
  • ID and Input validation happens in the service, allows for better testability.
  • All interactions with the Project API require at least a token with read:project permissions.