Closed Bug 1335084 Opened 7 years ago Closed 7 years ago

Please deploy kinto-dist 1.10 release to webextensions.settings STAGE

Categories

(Cloud Services :: Operations: Kinto, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rhubscher, Assigned: jason)

Details

Assignee: nobody → jthomas
QA Contact: jthomas → kthiessen
Deployed in stage https://webextensions-settings.stage.mozaws.net/v1/__version__
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
+ http -v GET https://webextensions-settings.stage.mozaws.net/v1/buckets/default/collections 'Authorization:Bearer <oauth-token>'
GET /v1/buckets/default/collections HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Authorization: Bearer <oauth-token>
Connection: keep-alive
Host: webextensions-settings.stage.mozaws.net
User-Agent: HTTPie/0.9.9



HTTP/1.1 200 OK
Access-Control-Expose-Headers: Backoff, Alert, Next-Page, Cache-Control, Last-Modified, Expires, ETag, Content-Length, Pragma, Retry-After, Total-Records
Cache-Control: no-cache, no-store
Connection: keep-alive
Content-Length: 173
Content-Type: application/json
Date: Mon, 30 Jan 2017 17:39:01 GMT
ETag: "1485797410995"
Last-Modified: Mon, 30 Jan 2017 17:30:10 GMT
Total-Records: 2
X-Content-Type-Options: nosniff

{
    "data": [
        {
            "id": "3e0f013d2362aa4fa7b0db2fefb40011b9545d78dcca7aabc0d32f0b42f1733d", 
            "last_modified": 1485797410995
        }, 
        {
            "id": "storage-sync-crypto", 
            "last_modified": 1485274047246
        }
    ]
}

+ http -v GET https://webextensions-settings.stage.mozaws.net/v1/buckets/default/collections/storage-sync-crypto/records 'Authorization:Bearer <oauth-token>'
GET /v1/buckets/default/collections/storage-sync-crypto/records HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Authorization: Bearer <oauth-token>
Connection: keep-alive
Host: webextensions-settings.stage.mozaws.net
User-Agent: HTTPie/0.9.9



HTTP/1.1 200 OK
Access-Control-Expose-Headers: Next-Page, Content-Length, Backoff, Alert, Last-Modified, Expires, Cache-Control, Pragma, Retry-After, Total-Records, ETag
Cache-Control: no-cache, no-store
Connection: keep-alive
Content-Length: 11
Content-Type: application/json
Date: Mon, 30 Jan 2017 17:39:02 GMT
ETag: "1485274047254"
Last-Modified: Tue, 24 Jan 2017 16:07:27 GMT
Total-Records: 0
X-Content-Type-Options: nosniff

{
    "data": []
}

+ echo '{"data": {"payload": {"encrypted": "SmluZ28gdGVzdA=="}}}'
+ http -v POST https://webextensions-settings.stage.mozaws.net/v1/buckets/default/collections/3e0f013d2362aa4fa7b0db2fefb40011b9545d78dcca7aabc0d32f0b42f1733d/records 'Authorization:Bearer <oauth-token>'
POST /v1/buckets/default/collections/3e0f013d2362aa4fa7b0db2fefb40011b9545d78dcca7aabc0d32f0b42f1733d/records HTTP/1.1
Accept: application/json, */*
Accept-Encoding: gzip, deflate
Authorization: Bearer <oauth-token>
Connection: keep-alive
Content-Length: 57
Content-Type: application/json
Host: webextensions-settings.stage.mozaws.net
User-Agent: HTTPie/0.9.9

{
    "data": {
        "payload": {
            "encrypted": "SmluZ28gdGVzdA=="
        }
    }
}

HTTP/1.1 201 Created
Access-Control-Expose-Headers: Alert, Retry-After, Content-Length, Backoff
Connection: keep-alive
Content-Length: 192
Content-Type: application/json
Date: Mon, 30 Jan 2017 17:39:02 GMT
ETag: "1485797942891"
Last-Modified: Mon, 30 Jan 2017 17:39:02 GMT
X-Content-Type-Options: nosniff

{
    "data": {
        "id": "cb84154b-5ec3-4850-80f9-9d987f41c24b", 
        "last_modified": 1485797942891, 
        "payload": {
            "encrypted": "SmluZ28gdGVzdA=="
        }
    }, 
    "permissions": {
        "write": [
            "fxa:e2dda4218656438bb7c4a34ceea1aa18"
        ]
    }
}
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.