Overview
This is a test api
Documents
- Schema1.json
- Uploaded schema
Who can use this API
Anyone signs in and uses a GOV.UK one login account
Service level
This is an example service with no SLA
Technologies
C#.NET
Environments
| Environment | Base URL |
|---|---|
| live | https://dev-api.education.gov.uk/qonw-mp-api-subscriptionexpirypolicy/1 |
You need to sign in to subscribe to an API environment or view your existing subscriptions.
Current release
| Release name | Available from |
|---|---|
| Current Release | 01 October 2026 |
Operations
GET Download
- Description
-
Downloads a file specified by the file name
- URL template
- /Download/{filename}
Show / Hide additional information
Parameters
| Name | Type | Location | Field | Description |
|---|---|---|---|---|
| filename | string | Path | Required | Please supply the filename for download |
Response Codes
| Status code | Description |
|---|---|
| 200 | The OK response |
Example Request
curl -X GET \
"https://dev-api.education.gov.uk/qonw-mp-api-subscriptionexpirypolicy/1/Download/{filename}"
GET Echo-Get
- Description
-
Simple GET endpoint which echos all the requested data into JSON format
- URL template
- /Echo-Get
Show / Hide additional information
Response Codes
| Status code | Description |
|---|---|
| 200 | The OK response |
Example Request
curl -X GET \
"https://dev-api.education.gov.uk/qonw-mp-api-subscriptionexpirypolicy/1/Echo-Get"
POST Echo-Post
- Description
-
Simple POST endpoint which echos all the requested data into JSON format including a plain text body
- URL template
- /Echo-Post
Show / Hide additional information
Response Codes
| Status code | Description |
|---|---|
| 200 | The OK response |
Example Request
curl -X POST \
"https://dev-api.education.gov.uk/qonw-mp-api-subscriptionexpirypolicy/1/Echo-Post"
GET List
- Description
-
Lists all files which have been uploaded
- URL template
- /List
Show / Hide additional information
Response Codes
| Status code | Description |
|---|---|
| 200 | The OK response |
Example Request
curl -X GET \
"https://dev-api.education.gov.uk/qonw-mp-api-subscriptionexpirypolicy/1/List"
POST Upload
- Description
-
Uploads a file
- URL template
- /Upload
Show / Hide additional information
Response Codes
| Status code | Description |
|---|---|
| 200 | The OK response |
Example Request
curl -X POST \
"https://dev-api.education.gov.uk/qonw-mp-api-subscriptionexpirypolicy/1/Upload" \
-H "Content-Type: multipart/form-data;"
Back to top