File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ The project automatically publishes API documentation to GitHub Pages:
1515- ** OpenAPI/Swagger UI** : https://mozilla-services.github.io/syncstorage-rs/swagger-ui/
1616
1717#### When the service is running (live deployment):
18- It is suggested to use the stage instance of Sync when playing with the API,
18+ It is suggested to use the stage instance of Sync and/or Tokenserver when playing with the API,
1919though you may also interact with your data in the production instance.
2020
2121The Prod and Stage environments below will be available as a drop-down in the SwaggerUI:
22- - ** Stage** : ` https://sync-us-west1-g.sync.services.allizom.org ` .
23- - ** Prod** : ` https://sync-1-us-west1-g.sync.services.mozilla.com ` .
22+ - ** Sync Stage** : ` https://sync-us-west1-g.sync.services.allizom.org ` .
23+ - ** Sync Prod** : ` https://sync-1-us-west1-g.sync.services.mozilla.com ` .
24+ - ** Tokenserver Stage** : ` https://stage-tokenserver.sync.nonprod.webservices.mozgcp.net ` .
25+ - ** Tokenserver Prod** : ` https://prod-tokenserver.sync.prod.webservices.mozgcp.net ` .
2426
2527URLs for Swagger and OpenAPI Spec:
2628- ** Swagger UI (Interactive)** : ` https://<your-deployment-url>/swagger-ui/ `
Original file line number Diff line number Diff line change @@ -87,8 +87,10 @@ pub fn cfg_path(path: &str) -> String {
8787 description = "OpenAPI documentation for Syncstorage and Tokenserver endpoints."
8888 ) ,
8989 servers(
90- ( url = "https://sync-us-west1-g.sync.services.allizom.org" , description = "US West Stage" ) ,
91- ( url = "https://sync-1-us-west1-g.sync.services.mozilla.com" , description = "US West Production" ) ,
90+ ( url = "https://stage-tokenserver.sync.nonprod.webservices.mozgcp.net" , description = "Tokenserver Stage" ) ,
91+ ( url = "https://prod-tokenserver.sync.prod.webservices.mozgcp.net" , description = "Tokenserver Production" ) ,
92+ ( url = "https://sync-us-west1-g.sync.services.allizom.org" , description = "Syncstorage - US West Stage" ) ,
93+ ( url = "https://sync-1-us-west1-g.sync.services.mozilla.com" , description = "Syncstorage - US West Prod" ) ,
9294 ) ,
9395 paths(
9496 // Syncstorage general info endpoints.
You can’t perform that action at this time.
0 commit comments