REST API
The PHT Services are made accessible via a REST API. This is defined via an OpenAPI Specification
- GET /proposals/{identifier}
Get a proposal
Get a proposal
- Parameters:
identifier (string) –
- Status Codes:
200 OK – OK
- PUT /proposals/{identifier}
Edit a proposal
Edit a proposal
- Parameters:
identifier (string) –
- Status Codes:
200 OK – OK
- GET /proposals/list/{identifier}
Get a list of proposal
Get a list of proposal
- Parameters:
identifier (string) –
- Status Codes:
200 OK – OK
- GET /upload/signedurl/{filename}
Upload a pdf
Upload a pdf
- Parameters:
filename (string) –
- Status Codes:
200 OK – OK
400 Bad Request – BAD REQUEST
500 Internal Server Error – INTERNAL SERVER ERROR
- GET /download/signedurl/{filename}
Download signed url
Download signed url
- Parameters:
filename (string) –
- Status Codes:
200 OK – OK
400 Bad Request – BAD REQUEST
500 Internal Server Error – INTERNAL SERVER ERROR
- GET /coordinates/{identifier}/{reference_frame}
get coordinates
get coordinates
- Parameters:
identifier (string) –
reference_frame (string) –
- Status Codes:
200 OK – OK
The default headers have been set to allow CORS requests to allow frontend and backend to communicate. Individual endpoints