diff --git a/_database_api/logs.md b/_database_api/logs.md index 14706880..dd4513c7 100644 --- a/_database_api/logs.md +++ b/_database_api/logs.md @@ -11,7 +11,7 @@ layout: default --- row --- -`GET https://$DB_API_URL/dapi/databases/[:database_id]/logs` +`GET https://$DB_API_URL/api/databases/[:database_id]/logs` {:.table} | field | type | description | @@ -36,6 +36,6 @@ Returns 200 OK ```json { - "url": "https://logs.scalingo.com/apps/59e6641ab8c6f11f89d0b950/logs?token=authentication_token" + "url": "https://logs.shard-0.osc-fr1.scalingo.com/apps/59e6641ab8c6f11f89d0b950/logs?token=authentication_token" } ``` diff --git a/_scalingo_api/apps.md b/_scalingo_api/apps.md index 4f1a38b0..ed6ff68e 100644 --- a/_scalingo_api/apps.md +++ b/_scalingo_api/apps.md @@ -668,7 +668,7 @@ Returns 200 OK ```json { "app": { … }, - "logs_url": "https://logs.scalingo.com/apps/example-app/logs?token=0123456789" + "logs_url": "https://logs.shard-0.osc-fr1.scalingo.com/apps/example-app/logs?token=0123456789" } ``` diff --git a/_scalingo_api/logs.md b/_scalingo_api/logs.md index ebce19fd..3a299b59 100644 --- a/_scalingo_api/logs.md +++ b/_scalingo_api/logs.md @@ -7,7 +7,7 @@ layout: default ## Dump and stream logs -`GET https://logs.scalingo.com/apps/[:app]/logs?token=[:token]` +`GET https://logs.shard-0.osc-fr1.scalingo.com/apps/[:app]/logs?token=[:token]` To get an authenticated URL, see [Application#logs](/apps.html#access-to-the-application-logs) @@ -31,7 +31,7 @@ The `filter` parameter can contain a container name (e.g. `web-1`), a container Example request: ```sh -curl -X GET 'https://logs.scalingo.com/apps/example-app/logs?n=10' +curl -X GET 'https://logs.shard-0.osc-fr1.scalingo.com/apps/example-app/logs?n=10' ``` Response 200 OK @@ -76,7 +76,7 @@ Websocket example: ```sh curl -H "Connection: Upgrade" -H "Upgrade: websocket" -v \ - -X GET 'https://logs.scalingo.com/apps/example-app/logs?n=0&stream=true' + -X GET 'https://logs.shard-0.osc-fr1.scalingo.com/apps/example-app/logs?n=0&stream=true' ``` Return 101 Switching Protocol