Skip to content

Commit

Permalink
fix(samples): correct DB ID format
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneM committed Jan 13, 2023
1 parent e882900 commit 11293b4
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Unreleased

* New: Add support for database API upgrade endpoint ([#51](https://github.com/Scalingo/scalingo-ruby-api/pull/51))

## 3.3.0 - 2023-01-03

* Bugfix: response of Backups#create was not properly unpacked ([#44](https://github.com/Scalingo/scalingo-ruby-api/issues/44))
Expand Down
2 changes: 1 addition & 1 deletion samples/regional_database/backups/_meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"addon_id": "ad-5ed10967884fef000f5e4fff",
"addon_id": "63bfe3b600deff4f0516cc12",
"backup_id": "5bb95a904ffb096e9a2831b8"
}
4 changes: 2 additions & 2 deletions samples/regional_database/backups/archive-200.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"path": "/databases/ad-5ed10967884fef000f5e4fff/backups/5bb95a904ffb096e9a2831b8/archive",
"path": "/databases/63bfe3b600deff4f0516cc12/backups/5bb95a904ffb096e9a2831b8/archive",
"method": "get",
"request": {
"headers": {
Expand All @@ -18,7 +18,7 @@
"Referrer-Policy": "strict-origin-when-cross-origin"
},
"json_body": {
"download_url": "https://regional-database.scalingo.test/databases/ad-5ed10967884fef000f5e4fff/backups/5bb95a904ffb096e9a2831b8/download?token=token1234"
"download_url": "https://regional-database.scalingo.test/databases/63bfe3b600deff4f0516cc12/backups/5bb95a904ffb096e9a2831b8/download?token=token1234"
}
}
}
2 changes: 1 addition & 1 deletion samples/regional_database/backups/archive-400.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"path": "/databases/ad-5ed10967884fef000f5e4fff/backups/5bb95a904ffb096e9a2831b8/archive",
"path": "/databases/63bfe3b600deff4f0516cc12/backups/5bb95a904ffb096e9a2831b8/archive",
"method": "get",
"request": {
"headers": {
Expand Down
2 changes: 1 addition & 1 deletion samples/regional_database/backups/create-201.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"path": "/databases/ad-5ed10967884fef000f5e4fff/backups",
"path": "/databases/63bfe3b600deff4f0516cc12/backups",
"method": "post",
"request": {
"headers": {
Expand Down
2 changes: 1 addition & 1 deletion samples/regional_database/backups/create-400.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"path": "/databases/ad-5ed10967884fef000f5e4fff/backups",
"path": "/databases/63bfe3b600deff4f0516cc12/backups",
"method": "post",
"request": {
"headers": {
Expand Down
2 changes: 1 addition & 1 deletion samples/regional_database/backups/for-200.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"path": "/databases/ad-5ed10967884fef000f5e4fff/backups",
"path": "/databases/63bfe3b600deff4f0516cc12/backups",
"method": "get",
"request": {
"headers": {
Expand Down
2 changes: 1 addition & 1 deletion samples/regional_database/backups/for-400.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"path": "/databases/ad-5ed10967884fef000f5e4fff/backups",
"path": "/databases/63bfe3b600deff4f0516cc12/backups",
"method": "get",
"request": {
"headers": {
Expand Down

0 comments on commit 11293b4

Please sign in to comment.