2019-04-28 19:36:12 +02:00
|
|
|
interactions:
|
|
|
|
- request:
|
2019-04-28 19:46:20 +02:00
|
|
|
body: scheduled_at=4000-01-01T11%3A33%3A14%2B00%3A00&status=please+ensure+adequate+headroom
|
2019-04-28 19:36:12 +02:00
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
2019-04-28 19:46:20 +02:00
|
|
|
Content-Length: ['85']
|
2019-04-28 19:36:12 +02:00
|
|
|
Content-Type: [application/x-www-form-urlencoded]
|
|
|
|
User-Agent: [python-requests/2.18.4]
|
|
|
|
method: POST
|
|
|
|
uri: http://localhost:3000/api/v1/statuses
|
|
|
|
response:
|
2019-04-28 20:47:22 +02:00
|
|
|
body: {string: '{"id":"20","scheduled_at":"4000-01-01T11:33:14.000Z","params":{"text":"please
|
2019-04-28 19:36:12 +02:00
|
|
|
ensure adequate headroom","media_ids":null,"sensitive":null,"spoiler_text":null,"visibility":null,"scheduled_at":null,"poll":null,"idempotency":null,"in_reply_to_id":null,"application_id":1234567890123456},"media_attachments":[]}'}
|
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2019-04-28 20:47:22 +02:00
|
|
|
ETag: [W/"be361ce0e4f158cb391faf2ebae37c27"]
|
2019-04-28 19:36:12 +02:00
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
|
|
|
X-Download-Options: [noopen]
|
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
2019-04-28 20:47:22 +02:00
|
|
|
X-Request-Id: [c0db13da-629d-4da2-a169-8fa198881171]
|
|
|
|
X-Runtime: ['0.055765']
|
2019-04-28 19:36:12 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['307']
|
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
2019-04-28 19:46:20 +02:00
|
|
|
body: scheduled_at=4000-01-01T11%3A23%3A14%2B00%3A00
|
2019-04-28 19:36:12 +02:00
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
2019-04-28 19:46:20 +02:00
|
|
|
Content-Length: ['46']
|
2019-04-28 19:36:12 +02:00
|
|
|
Content-Type: [application/x-www-form-urlencoded]
|
|
|
|
User-Agent: [python-requests/2.18.4]
|
|
|
|
method: PUT
|
2019-04-28 20:47:22 +02:00
|
|
|
uri: http://localhost:3000/api/v1/scheduled_statuses/20
|
2019-04-28 19:36:12 +02:00
|
|
|
response:
|
2019-04-28 20:47:22 +02:00
|
|
|
body: {string: '{"id":"20","scheduled_at":"4000-01-01T11:23:14.000Z","params":{"poll":null,"text":"please
|
2019-04-28 19:36:12 +02:00
|
|
|
ensure adequate headroom","media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null},"media_attachments":[]}'}
|
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2019-04-28 20:47:22 +02:00
|
|
|
ETag: [W/"4d5e61fd2fbc19a61c0a227cf37b0a38"]
|
2019-04-28 19:36:12 +02:00
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
|
|
|
X-Download-Options: [noopen]
|
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
2019-04-28 20:47:22 +02:00
|
|
|
X-Request-Id: [5a64d427-0b38-44ee-b7c1-93b488cc9b1a]
|
|
|
|
X-Runtime: ['0.024226']
|
2019-04-28 19:36:12 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['307']
|
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
|
|
|
body: null
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
User-Agent: [python-requests/2.18.4]
|
|
|
|
method: GET
|
|
|
|
uri: http://localhost:3000/api/v1/scheduled_statuses
|
|
|
|
response:
|
2019-04-28 20:47:22 +02:00
|
|
|
body: {string: '[{"id":"20","scheduled_at":"4000-01-01T11:23:14.000Z","params":{"poll":null,"text":"please
|
2019-04-28 19:36:12 +02:00
|
|
|
ensure adequate headroom","media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null},"media_attachments":[]}]'}
|
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2019-04-28 20:47:22 +02:00
|
|
|
ETag: [W/"d917e1a8c871328a3c6b4e031a1e6134"]
|
|
|
|
Link: ['<http://localhost:3000/api/v1/scheduled_statuses?min_id=20>; rel="prev"']
|
2019-04-28 19:36:12 +02:00
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
|
|
|
X-Download-Options: [noopen]
|
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
2019-04-28 20:47:22 +02:00
|
|
|
X-Request-Id: [2f49987e-3261-4cb7-a8f4-5254e869b163]
|
|
|
|
X-Runtime: ['0.018487']
|
2019-04-28 19:36:12 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['309']
|
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
|
|
|
body: null
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
User-Agent: [python-requests/2.18.4]
|
|
|
|
method: GET
|
2019-04-28 20:47:22 +02:00
|
|
|
uri: http://localhost:3000/api/v1/scheduled_statuses/20
|
2019-04-28 19:36:12 +02:00
|
|
|
response:
|
2019-04-28 20:47:22 +02:00
|
|
|
body: {string: '{"id":"20","scheduled_at":"4000-01-01T11:23:14.000Z","params":{"poll":null,"text":"please
|
2019-04-28 19:36:12 +02:00
|
|
|
ensure adequate headroom","media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null},"media_attachments":[]}'}
|
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2019-04-28 20:47:22 +02:00
|
|
|
ETag: [W/"4d5e61fd2fbc19a61c0a227cf37b0a38"]
|
2019-04-28 19:36:12 +02:00
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
|
|
|
X-Download-Options: [noopen]
|
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
2019-04-28 20:47:22 +02:00
|
|
|
X-Request-Id: [09b621ce-cd75-44b3-8dd6-4ab911631ab8]
|
|
|
|
X-Runtime: ['0.016953']
|
2019-04-28 19:36:12 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['307']
|
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
|
|
|
body: null
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
Content-Length: ['0']
|
|
|
|
User-Agent: [python-requests/2.18.4]
|
|
|
|
method: DELETE
|
2019-04-28 20:47:22 +02:00
|
|
|
uri: http://localhost:3000/api/v1/scheduled_statuses/20
|
2019-04-28 19:36:12 +02:00
|
|
|
response:
|
|
|
|
body: {string: '{}'}
|
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2019-04-28 20:47:22 +02:00
|
|
|
ETag: [W/"76b6207dfee28b6931260e1ad1453da4"]
|
2019-04-28 19:36:12 +02:00
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
|
|
|
X-Download-Options: [noopen]
|
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
2019-04-28 20:47:22 +02:00
|
|
|
X-Request-Id: [9addca1e-72fb-4fc8-8ffa-2748a2f2471c]
|
|
|
|
X-Runtime: ['0.026415']
|
2019-04-28 19:36:12 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['2']
|
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
|
|
|
body: null
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
User-Agent: [python-requests/2.18.4]
|
|
|
|
method: GET
|
|
|
|
uri: http://localhost:3000/api/v1/scheduled_statuses
|
|
|
|
response:
|
|
|
|
body: {string: '[]'}
|
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2019-04-28 20:47:22 +02:00
|
|
|
ETag: [W/"232a7ade8744af454b200165b5597257"]
|
2019-04-28 19:36:12 +02:00
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
|
|
|
X-Download-Options: [noopen]
|
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
2019-04-28 20:47:22 +02:00
|
|
|
X-Request-Id: [b9117b47-72f4-4db4-824f-e53c4507555f]
|
|
|
|
X-Runtime: ['0.014710']
|
2019-04-28 19:36:12 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['2']
|
|
|
|
status: {code: 200, message: OK}
|
|
|
|
version: 1
|