Skip to content

Build out API v1 - Phase one #2390

@briri

Description

@briri

Phase one of the API v1 changes involves setup of the basic infrastructure and a few initial endpoints.

Infrastructure:

  • Introduce JSON Web Token (JWT) security for system to system communications. Which will use a client_id and client_secret for initial auth and then a JWT in further requests.
  • Create a new api_client table to handle JWT machine to machine security
  • Allow access to the API for both ApiClients (systems) and Users
  • Create new views that follow the RDA common metadata standard for DMPs
  • Create views that output the RDA common metadata standard for DMPs

Endpoints

  • Build out POST /api/v1/authenticate - to authenticate the user and return a JWT
  • Build out GET /api/v1/plans - to retrieve a list of DMPs This one will come later
  • Build out GET /api/v1/plans/[:id] - to retrieve a DMP
  • Build out POST /api/v1/plans - to create a DMP

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions