General Notes
- This is a testing endpoint to play around with the URL Signing Service
Table of Contents
Read methods
| Method / Path: | GET /accepts |
|---|---|
| Description: | Checks if the signing service accepts to sign the URL |
| Path params: | NONE |
| Required (form) params: | baseUrl: The URL to sign |
| Optional (query) params: | NONE |
| Response formats: | text/plain |
| Status codes: | 200: OK, 'true' or 'false' |
| Testing: |
Sample:
/accepts
Testing form (click to reveal)
|
| Method / Path: | GET /sign |
|---|---|
| Description: | Return a signed URL |
| Path params: | NONE |
| Required (form) params: |
baseUrl: The URL to sign
validUntil: The UNIX epoch time until when a signed URL should remain valid |
| Optional (query) params: |
validFrom(Default value=0):
The UNIX epoch time from when a signed URL should become valid ipAddr: The IP addresse of the user that is allowed to access the resource |
| Response formats: | text/plain |
| Status codes: | 200: OK, A URL |
| Testing: |
Sample:
/sign?validFrom=0&ipAddr={ipAddr}
Testing form (click to reveal)
|