Page MenuHomePhabricator

Create Snapshots endpoint for the Main API
Closed, ResolvedPublic8 Estimated Story Points

Description

We need to create a snapshots endpoint for our main API do that data consumers can query the API(s) to get meta data information and be able to download them.

Acceptance criteria
Data consumer is able to download snapshot(s) or get snapshot(s) metadata through our API(s).

To-Do

  • create GET | POST /v2/snapshots endpoint that will return list of available snapshots
  • create GET | POST /v2/snapshots/{identifier} that will return a single snapshot metadata
  • create HEAD /v2/snapshots/{identifier}/download that will return header metadata for snapshot
  • create GET /v2/snapshots/{identifier}/download that will initiate the download

Notes
Please use proxy package inside the main API to create this endpoint.
Also refer to documentation/api-specs-v2 to get swagger documentation about the endpoint.

Event Timeline

Daria_Kevana changed the task status from Open to In Progress.Jan 3 2023, 6:17 PM
Daria_Kevana changed the task status from In Progress to Open.Jan 26 2023, 12:58 PM