Skip to content

Get resource by id #177

Description

@yellalena
  • Add GET /resources/<id> endpoint
  • Dynamically calculate hiddenFrom field value for the record, add it to frontend’s output. Since hiddenFrom is a field for frontend, it should use frontend’s terminology, i.e. guest instead of public
  • Based on hiddenFrom and requestor’s role, return either full resource data or 403
  • Build attachment's link using attachment_filename and s3. Refer to applications to see how it's implemented
  • Update swagger
  • Add unit tests

Metadata

Metadata

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
To Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions