Commit 5866455e authored by Carlos Torres's avatar Carlos Torres

Fixing the download urls.

parent 05242aa2
Pipeline #9485 passed with stage
in 1 minute and 4 seconds
......@@ -583,7 +583,7 @@ Sets a specific CustomerViewsetVersion as active viewset.
## Group ScPackVersion
This section groups opt\_pipeline Shimmercat pack versions.
### ScPackVersion Download [/presentation-api/v1/download/sc_pack/]
### ScPackVersion Download [/presentation-api/v1/upload/sc_pack_v2/
#### Retrieve ScPackVersion [GET]
Returns the latest ScPackVersion
......@@ -593,11 +593,20 @@ Returns the latest ScPackVersion
{}
+ Response 200 (application/json)
```
{
"version": "0.1.9",
"download_url": "https://accelerator.shimmercat.com/media/sc_pack_versions/sc_pack_test-0.1.9-py3-none-any.whl"
}
{
"bootstrapper_download_url": "https://storage.googleapis.com/downloads-shimmercat-com-561059/sc_pack/rkt/sc_pack-linux-amd64-2020.1.bootstrap",
"versions": { "bootstrapper": "2020.1", "sc_logs_agent": "develop-rev-324", "shimmercat": "qs-rev-3623", "base_python": "2020.6", "usher3": "master-rev-116", "sc_pack": "v1533" },
"images": {
"celery": "aci.shimmercat.io/r/sc_pack:v1533",
"sc_logs_agent": "aci.shimmercat.io/r/sc_logs_agent:develop-rev-324",
"sc_pack": "aci.shimmercat.io/r/sc_pack:v1533",
"shimmercat": "aci.shimmercat.io/r/shimmercat:qs-rev-3623",
"usher3": "aci.shimmercat.io/r/usher3:master-rev-116"
}
}
```
### ScPackVersion Upload [/presentation-api/v1/upload/sc_pack/{version}/]
......@@ -704,8 +713,8 @@ The `email` field on the request data is optional, although we encourage you to
+ Response 201 (application/json)
{}
### StartAuthenticationTokenRecovery [POST /presentation-api/v1/tokens/start-recovery/]
Initiates token recovery procedure. After this request you should get an email with token recovery link.
......@@ -716,7 +725,7 @@ Initiates token recovery procedure. After this request you should get an email w
"username": "test_trial",
"email": "tests@shimmercat.com"
}
+ Response 200 (application/json)
{"status": "email sent"}
......@@ -1480,7 +1489,7 @@ Creates a new Grafana Slack Notification Channel.
"slack_channel_name": "channel-name",
"slack_hook_url": "http://example.com"
}
+ Response 201 (application/json)
+ Attributes (GrafanaSlackNotificationChannel)
......@@ -1504,7 +1513,7 @@ Updates a single Grafana Slack Notification Channel.
+ Parameters
+ channel_id: 1 (number)
+ Request (application/json)
{
......@@ -1523,7 +1532,7 @@ Deletes a Grafana Slack Notification Channel.
+ Parameters
+ channel_id: 1 (number)
+ Response 204
### GrafanaEmailNotificationChannel Collection [/presentation-api/v1/grafana-notification-channel/email/]
......@@ -1546,7 +1555,7 @@ Creates a new Grafana Email Notification Channel.
{
"grafana_uid": "new-uid"
}
+ Response 201 (application/json)
+ Attributes (GrafanaEmailNotificationChannel)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment