logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git

pleroma_api.md (21333B)


  1. # Pleroma API
  2. Requests that require it can be authenticated with [an OAuth token](https://tools.ietf.org/html/rfc6749), the `_pleroma_key` cookie, or [HTTP Basic Authentication](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization).
  3. Request parameters can be passed via [query strings](https://en.wikipedia.org/wiki/Query_string) or as [form data](https://www.w3.org/TR/html401/interact/forms.html). Files must be uploaded as `multipart/form-data`.
  4. ## `/api/pleroma/emoji`
  5. ### Lists the custom emoji on that server.
  6. * Method: `GET`
  7. * Authentication: not required
  8. * Params: none
  9. * Response: JSON
  10. * Example response:
  11. ```json
  12. {
  13. "girlpower": {
  14. "tags": [
  15. "Finmoji"
  16. ],
  17. "image_url": "/finmoji/128px/girlpower-128.png"
  18. },
  19. "education": {
  20. "tags": [
  21. "Finmoji"
  22. ],
  23. "image_url": "/finmoji/128px/education-128.png"
  24. },
  25. "finnishlove": {
  26. "tags": [
  27. "Finmoji"
  28. ],
  29. "image_url": "/finmoji/128px/finnishlove-128.png"
  30. }
  31. }
  32. ```
  33. * Note: Same data as Mastodon API’s `/api/v1/custom_emojis` but in a different format
  34. ## `/api/pleroma/follow_import`
  35. ### Imports your follows, for example from a Mastodon CSV file.
  36. * Method: `POST`
  37. * Authentication: required
  38. * Params:
  39. * `list`: STRING or FILE containing a whitespace-separated list of accounts to follow
  40. * Response: HTTP 200 on success, 500 on error
  41. * Note: Users that can't be followed are silently skipped.
  42. ## `/api/pleroma/blocks_import`
  43. ### Imports your blocks.
  44. * Method: `POST`
  45. * Authentication: required
  46. * Params:
  47. * `list`: STRING or FILE containing a whitespace-separated list of accounts to block
  48. * Response: HTTP 200 on success, 500 on error
  49. ## `/api/pleroma/mutes_import`
  50. ### Imports your mutes.
  51. * Method: `POST`
  52. * Authentication: required
  53. * Params:
  54. * `list`: STRING or FILE containing a whitespace-separated list of accounts to mute
  55. * Response: HTTP 200 on success, 500 on error
  56. ## `/api/pleroma/captcha`
  57. ### Get a new captcha
  58. * Method: `GET`
  59. * Authentication: not required
  60. * Params: none
  61. * Response: Provider specific JSON, the only guaranteed parameter is `type`
  62. * Example response: `{"type": "kocaptcha", "token": "whatever", "url": "https://captcha.kotobank.ch/endpoint", "seconds_valid": 300}`
  63. ## `/api/pleroma/delete_account`
  64. ### Delete an account
  65. * Method `POST`
  66. * Authentication: required
  67. * Params:
  68. * `password`: user's password
  69. * Response: JSON. Returns `{"status": "success"}` if the deletion was successful, `{"error": "[error message]"}` otherwise
  70. * Example response: `{"error": "Invalid password."}`
  71. ## `/api/pleroma/disable_account`
  72. ### Disable an account
  73. * Method `POST`
  74. * Authentication: required
  75. * Params:
  76. * `password`: user's password
  77. * Response: JSON. Returns `{"status": "success"}` if the account was successfully disabled, `{"error": "[error message]"}` otherwise
  78. * Example response: `{"error": "Invalid password."}`
  79. ## `/api/pleroma/accounts/mfa`
  80. #### Gets current MFA settings
  81. * method: `GET`
  82. * Authentication: required
  83. * OAuth scope: `read:security`
  84. * Response: JSON. Returns `{"enabled": "false", "totp": false }`
  85. ## `/api/pleroma/accounts/mfa/setup/totp`
  86. #### Pre-setup the MFA/TOTP method
  87. * method: `GET`
  88. * Authentication: required
  89. * OAuth scope: `write:security`
  90. * Response: JSON. Returns `{"key": [secret_key], "provisioning_uri": "[qr code uri]" }` when successful, otherwise returns HTTP 422 `{"error": "error_msg"}`
  91. ## `/api/pleroma/accounts/mfa/confirm/totp`
  92. #### Confirms & enables MFA/TOTP support for user account.
  93. * method: `POST`
  94. * Authentication: required
  95. * OAuth scope: `write:security`
  96. * Params:
  97. * `password`: user's password
  98. * `code`: token from TOTP App
  99. * Response: JSON. Returns `{}` if the enable was successful, HTTP 422 `{"error": "[error message]"}` otherwise
  100. ## `/api/pleroma/accounts/mfa/totp`
  101. #### Disables MFA/TOTP method for user account.
  102. * method: `DELETE`
  103. * Authentication: required
  104. * OAuth scope: `write:security`
  105. * Params:
  106. * `password`: user's password
  107. * Response: JSON. Returns `{}` if the disable was successful, HTTP 422 `{"error": "[error message]"}` otherwise
  108. * Example response: `{"error": "Invalid password."}`
  109. ## `/api/pleroma/accounts/mfa/backup_codes`
  110. #### Generstes backup codes MFA for user account.
  111. * method: `GET`
  112. * Authentication: required
  113. * OAuth scope: `write:security`
  114. * Response: JSON. Returns `{"codes": codes}`when successful, otherwise HTTP 422 `{"error": "[error message]"}`
  115. ## `/api/pleroma/admin/`
  116. See [Admin-API](admin_api.md)
  117. ## `/api/v1/pleroma/notifications/read`
  118. ### Mark notifications as read
  119. * Method `POST`
  120. * Authentication: required
  121. * Params (mutually exclusive):
  122. * `id`: a single notification id to read
  123. * `max_id`: read all notifications up to this id
  124. * Response: Notification entity/Array of Notification entities that were read. In case of `max_id`, only the first 80 read notifications will be returned.
  125. ## `/api/v1/pleroma/accounts/:id/subscribe`
  126. ### Subscribe to receive notifications for all statuses posted by a user
  127. * Method `POST`
  128. * Authentication: required
  129. * Params:
  130. * `id`: account id to subscribe to
  131. * Response: JSON, returns a mastodon relationship object on success, otherwise returns `{"error": "error_msg"}`
  132. * Example response:
  133. ```json
  134. {
  135. "id": "abcdefg",
  136. "following": true,
  137. "followed_by": false,
  138. "blocking": false,
  139. "muting": false,
  140. "muting_notifications": false,
  141. "subscribing": true,
  142. "requested": false,
  143. "domain_blocking": false,
  144. "showing_reblogs": true,
  145. "endorsed": false
  146. }
  147. ```
  148. ## `/api/v1/pleroma/accounts/:id/unsubscribe`
  149. ### Unsubscribe to stop receiving notifications from user statuses
  150. * Method `POST`
  151. * Authentication: required
  152. * Params:
  153. * `id`: account id to unsubscribe from
  154. * Response: JSON, returns a mastodon relationship object on success, otherwise returns `{"error": "error_msg"}`
  155. * Example response:
  156. ```json
  157. {
  158. "id": "abcdefg",
  159. "following": true,
  160. "followed_by": false,
  161. "blocking": false,
  162. "muting": false,
  163. "muting_notifications": false,
  164. "subscribing": false,
  165. "requested": false,
  166. "domain_blocking": false,
  167. "showing_reblogs": true,
  168. "endorsed": false
  169. }
  170. ```
  171. ## `/api/v1/pleroma/accounts/:id/favourites`
  172. ### Returns favorites timeline of any user
  173. * Method `GET`
  174. * Authentication: not required
  175. * Params:
  176. * `id`: the id of the account for whom to return results
  177. * `limit`: optional, the number of records to retrieve
  178. * `since_id`: optional, returns results that are more recent than the specified id
  179. * `max_id`: optional, returns results that are older than the specified id
  180. * Response: JSON, returns a list of Mastodon Status entities on success, otherwise returns `{"error": "error_msg"}`
  181. * Example response:
  182. ```json
  183. [
  184. {
  185. "account": {
  186. "id": "9hptFmUF3ztxYh3Svg",
  187. "url": "https://pleroma.example.org/users/nick2",
  188. "username": "nick2",
  189. ...
  190. },
  191. "application": {"name": "Web", "website": null},
  192. "bookmarked": false,
  193. "card": null,
  194. "content": "This is :moominmamma: note 0",
  195. "created_at": "2019-04-15T15:42:15.000Z",
  196. "emojis": [],
  197. "favourited": false,
  198. "favourites_count": 1,
  199. "id": "9hptFmVJ02khbzYJaS",
  200. "in_reply_to_account_id": null,
  201. "in_reply_to_id": null,
  202. "language": null,
  203. "media_attachments": [],
  204. "mentions": [],
  205. "muted": false,
  206. "pinned": false,
  207. "pleroma": {
  208. "content": {"text/plain": "This is :moominmamma: note 0"},
  209. "conversation_id": 13679,
  210. "local": true,
  211. "spoiler_text": {"text/plain": "2hu"}
  212. },
  213. "reblog": null,
  214. "reblogged": false,
  215. "reblogs_count": 0,
  216. "replies_count": 0,
  217. "sensitive": false,
  218. "spoiler_text": "2hu",
  219. "tags": [{"name": "2hu", "url": "/tag/2hu"}],
  220. "uri": "https://pleroma.example.org/objects/198ed2a1-7912-4482-b559-244a0369e984",
  221. "url": "https://pleroma.example.org/notice/9hptFmVJ02khbzYJaS",
  222. "visibility": "public"
  223. }
  224. ]
  225. ```
  226. ## `/api/v1/pleroma/accounts/update_*`
  227. ### Set and clear account avatar, banner, and background
  228. - PATCH `/api/v1/pleroma/accounts/update_avatar`: Set/clear user avatar image
  229. - PATCH `/api/v1/pleroma/accounts/update_banner`: Set/clear user banner image
  230. - PATCH `/api/v1/pleroma/accounts/update_background`: Set/clear user background image
  231. ## `/api/v1/pleroma/accounts/confirmation_resend`
  232. ### Resend confirmation email
  233. * Method `POST`
  234. * Params:
  235. * `email`: email of that needs to be verified
  236. * Authentication: not required
  237. * Response: 204 No Content
  238. ## `/api/v1/pleroma/mascot`
  239. ### Gets user mascot image
  240. * Method `GET`
  241. * Authentication: required
  242. * Response: JSON. Returns a mastodon media attachment entity.
  243. * Example response:
  244. ```json
  245. {
  246. "id": "abcdefg",
  247. "url": "https://pleroma.example.org/media/abcdefg.png",
  248. "type": "image",
  249. "pleroma": {
  250. "mime_type": "image/png"
  251. }
  252. }
  253. ```
  254. ### Updates user mascot image
  255. * Method `PUT`
  256. * Authentication: required
  257. * Params:
  258. * `file`: Multipart image
  259. * Response: JSON. Returns a mastodon media attachment entity
  260. when successful, otherwise returns HTTP 415 `{"error": "error_msg"}`
  261. * Example response:
  262. ```json
  263. {
  264. "id": "abcdefg",
  265. "url": "https://pleroma.example.org/media/abcdefg.png",
  266. "type": "image",
  267. "pleroma": {
  268. "mime_type": "image/png"
  269. }
  270. }
  271. ```
  272. * Note: Behaves exactly the same as `POST /api/v1/upload`.
  273. Can only accept images - any attempt to upload non-image files will be met with `HTTP 415 Unsupported Media Type`.
  274. ## `/api/pleroma/notification_settings`
  275. ### Updates user notification settings
  276. * Method `PUT`
  277. * Authentication: required
  278. * Params:
  279. * `block_from_strangers`: BOOLEAN field, blocks notifications from accounts you do not follow
  280. * `hide_notification_contents`: BOOLEAN field. When set to true, it removes the contents of a message from the push notification.
  281. * Response: JSON. Returns `{"status": "success"}` if the update was successful, otherwise returns `{"error": "error_msg"}`
  282. ## `/api/pleroma/healthcheck`
  283. ### Healthcheck endpoint with additional system data.
  284. * Method `GET`
  285. * Authentication: not required
  286. * Params: none
  287. * Response: JSON, statuses (200 - healthy, 503 unhealthy).
  288. * Example response:
  289. ```json
  290. {
  291. "pool_size": 0, # database connection pool
  292. "active": 0, # active processes
  293. "idle": 0, # idle processes
  294. "memory_used": 0.00, # Memory used
  295. "healthy": true, # Instance state
  296. "job_queue_stats": {} # Job queue stats
  297. }
  298. ```
  299. ## `/api/pleroma/change_email`
  300. ### Change account email
  301. * Method `POST`
  302. * Authentication: required
  303. * Params:
  304. * `password`: user's password
  305. * `email`: new email
  306. * Response: JSON. Returns `{"status": "success"}` if the change was successful, `{"error": "[error message]"}` otherwise
  307. * Note: Currently, Mastodon has no API for changing email. If they add it in future it might be incompatible with Pleroma.
  308. # Pleroma Conversations
  309. Pleroma Conversations have the same general structure that Mastodon Conversations have. The behavior differs in the following ways when using these endpoints:
  310. 1. Pleroma Conversations never add or remove recipients, unless explicitly changed by the user.
  311. 2. Pleroma Conversations statuses can be requested by Conversation id.
  312. 3. Pleroma Conversations can be replied to.
  313. Conversations have the additional field `recipients` under the `pleroma` key. This holds a list of all the accounts that will receive a message in this conversation.
  314. The status posting endpoint takes an additional parameter, `in_reply_to_conversation_id`, which, when set, will set the visiblity to direct and address only the people who are the recipients of that Conversation.
  315. âš  Conversation IDs can be found in direct messages with the `pleroma.direct_conversation_id` key, do not confuse it with `pleroma.conversation_id`.
  316. ## `GET /api/v1/pleroma/conversations/:id/statuses`
  317. ### Timeline for a given conversation
  318. * Method `GET`
  319. * Authentication: required
  320. * Params: Like other timelines
  321. * Response: JSON, statuses (200 - healthy, 503 unhealthy).
  322. ## `GET /api/v1/pleroma/conversations/:id`
  323. ### The conversation with the given ID.
  324. * Method `GET`
  325. * Authentication: required
  326. * Params: None
  327. * Response: JSON, statuses (200 - healthy, 503 unhealthy).
  328. ## `PATCH /api/v1/pleroma/conversations/:id`
  329. ### Update a conversation. Used to change the set of recipients.
  330. * Method `PATCH`
  331. * Authentication: required
  332. * Params:
  333. * `recipients`: A list of ids of users that should receive posts to this conversation. This will replace the current list of recipients, so submit the full list. The owner of owner of the conversation will always be part of the set of recipients, though.
  334. * Response: JSON, statuses (200 - healthy, 503 unhealthy)
  335. ## `POST /api/v1/pleroma/conversations/read`
  336. ### Marks all user's conversations as read.
  337. * Method `POST`
  338. * Authentication: required
  339. * Params: None
  340. * Response: JSON, returns a list of Mastodon Conversation entities that were marked as read (200 - healthy, 503 unhealthy).
  341. ## `GET /api/pleroma/emoji/pack?name=:name`
  342. ### Get pack.json for the pack
  343. * Method `GET`
  344. * Authentication: not required
  345. * Params:
  346. * `page`: page number for files (default 1)
  347. * `page_size`: page size for files (default 30)
  348. * Response: JSON, pack json with `files`, `files_count` and `pack` keys with 200 status or 404 if the pack does not exist.
  349. ```json
  350. {
  351. "files": {...},
  352. "files_count": 0, // emoji count in pack
  353. "pack": {...}
  354. }
  355. ```
  356. ## `POST /api/pleroma/emoji/pack?name=:name`
  357. ### Creates an empty pack
  358. * Method `POST`
  359. * Authentication: required (admin)
  360. * Params:
  361. * `name`: pack name
  362. * Response: JSON, "ok" and 200 status or 409 if the pack with that name already exists
  363. ## `PATCH /api/pleroma/emoji/pack?name=:name`
  364. ### Updates (replaces) pack metadata
  365. * Method `PATCH`
  366. * Authentication: required (admin)
  367. * Params:
  368. * `name`: pack name
  369. * `metadata`: metadata to replace the old one
  370. * `license`: Pack license
  371. * `homepage`: Pack home page url
  372. * `description`: Pack description
  373. * `fallback-src`: Fallback url to download pack from
  374. * `fallback-src-sha256`: SHA256 encoded for fallback pack archive
  375. * `share-files`: is pack allowed for sharing (boolean)
  376. * Response: JSON, updated "metadata" section of the pack and 200 status or 400 if there was a
  377. problem with the new metadata (the error is specified in the "error" part of the response JSON)
  378. ## `DELETE /api/pleroma/emoji/pack?name=:name`
  379. ### Delete a custom emoji pack
  380. * Method `DELETE`
  381. * Authentication: required (admin)
  382. * Params:
  383. * `name`: pack name
  384. * Response: JSON, "ok" and 200 status or 500 if there was an error deleting the pack
  385. ## `GET /api/pleroma/emoji/packs/import`
  386. ### Imports packs from filesystem
  387. * Method `GET`
  388. * Authentication: required (admin)
  389. * Params: None
  390. * Response: JSON, returns a list of imported packs.
  391. ## `GET /api/pleroma/emoji/packs/remote`
  392. ### Make request to another instance for packs list
  393. * Method `GET`
  394. * Authentication: required (admin)
  395. * Params:
  396. * `url`: url of the instance to get packs from
  397. * `page`: page number for packs (default 1)
  398. * `page_size`: page size for packs (default 50)
  399. * Response: JSON with the pack list, hashmap with pack name and pack contents
  400. ## `POST /api/pleroma/emoji/packs/download`
  401. ### Download pack from another instance
  402. * Method `POST`
  403. * Authentication: required (admin)
  404. * Params:
  405. * `url`: url of the instance to download from
  406. * `name`: pack to download from that instance
  407. * `as`: (*optional*) name how to save pack
  408. * Response: JSON, "ok" with 200 status if the pack was downloaded, or 500 if there were
  409. errors downloading the pack
  410. ## `POST /api/pleroma/emoji/packs/files?name=:name`
  411. ### Add new file to the pack
  412. * Method `POST`
  413. * Authentication: required (admin)
  414. * Params:
  415. * `name`: pack name
  416. * `file`: file needs to be uploaded with the multipart request or link to remote file.
  417. * `shortcode`: (*optional*) shortcode for new emoji, must be unique for all emoji. If not sended, shortcode will be taken from original filename.
  418. * `filename`: (*optional*) new emoji file name. If not specified will be taken from original filename.
  419. * Response: JSON, list of files for updated pack (hashmap -> shortcode => filename) with status 200, either error status with error message.
  420. ## `PATCH /api/pleroma/emoji/packs/files?name=:name`
  421. ### Update emoji file from pack
  422. * Method `PATCH`
  423. * Authentication: required (admin)
  424. * Params:
  425. * `name`: pack name
  426. * `shortcode`: emoji file shortcode
  427. * `new_shortcode`: new emoji file shortcode
  428. * `new_filename`: new filename for emoji file
  429. * `force`: (*optional*) with true value to overwrite existing emoji with new shortcode
  430. * Response: JSON, list with updated files for updated pack (hashmap -> shortcode => filename) with status 200, either error status with error message.
  431. ## `DELETE /api/pleroma/emoji/packs/files?name=:name`
  432. ### Delete emoji file from pack
  433. * Method `DELETE`
  434. * Authentication: required (admin)
  435. * Params:
  436. * `name`: pack name
  437. * `shortcode`: emoji file shortcode
  438. * Response: JSON, list with updated files for updated pack (hashmap -> shortcode => filename) with status 200, either error status with error message.
  439. ## `GET /api/pleroma/emoji/packs`
  440. ### Lists local custom emoji packs
  441. * Method `GET`
  442. * Authentication: not required
  443. * Params:
  444. * `page`: page number for packs (default 1)
  445. * `page_size`: page size for packs (default 50)
  446. * Response: `packs` key with JSON hashmap of pack name to pack contents and `count` key for count of packs.
  447. ```json
  448. {
  449. "packs": {
  450. "pack_name": {...}, // pack contents
  451. ...
  452. },
  453. "count": 0 // packs count
  454. }
  455. ```
  456. ## `GET /api/pleroma/emoji/packs/archive?name=:name`
  457. ### Requests a local pack archive from the instance
  458. * Method `GET`
  459. * Authentication: not required
  460. * Params:
  461. * `name`: pack name
  462. * Response: the archive of the pack with a 200 status code, 403 if the pack is not set as shared,
  463. 404 if the pack does not exist
  464. ## `GET /api/v1/pleroma/accounts/:id/scrobbles`
  465. ### Requests a list of current and recent Listen activities for an account
  466. * Method `GET`
  467. * Authentication: not required
  468. * Params: None
  469. * Response: An array of media metadata entities.
  470. * Example response:
  471. ```json
  472. [
  473. {
  474. "account": {...},
  475. "id": "1234",
  476. "title": "Some Title",
  477. "artist": "Some Artist",
  478. "album": "Some Album",
  479. "length": 180000,
  480. "created_at": "2019-09-28T12:40:45.000Z"
  481. }
  482. ]
  483. ```
  484. ## `POST /api/v1/pleroma/scrobble`
  485. ### Creates a new Listen activity for an account
  486. * Method `POST`
  487. * Authentication: required
  488. * Params:
  489. * `title`: the title of the media playing
  490. * `album`: the album of the media playing [optional]
  491. * `artist`: the artist of the media playing [optional]
  492. * `length`: the length of the media playing [optional]
  493. * Response: the newly created media metadata entity representing the Listen activity
  494. # Emoji Reactions
  495. Emoji reactions work a lot like favourites do. They make it possible to react to a post with a single emoji character. To detect the presence of this feature, you can check `pleroma_emoji_reactions` entry in the features list of nodeinfo.
  496. ## `PUT /api/v1/pleroma/statuses/:id/reactions/:emoji`
  497. ### React to a post with a unicode emoji
  498. * Method: `PUT`
  499. * Authentication: required
  500. * Params: `emoji`: A unicode RGI emoji or a regional indicator
  501. * Response: JSON, the status.
  502. ## `DELETE /api/v1/pleroma/statuses/:id/reactions/:emoji`
  503. ### Remove a reaction to a post with a unicode emoji
  504. * Method: `DELETE`
  505. * Authentication: required
  506. * Params: `emoji`: A unicode RGI emoji or a regional indicator
  507. * Response: JSON, the status.
  508. ## `GET /api/v1/pleroma/statuses/:id/reactions`
  509. ### Get an object of emoji to account mappings with accounts that reacted to the post
  510. * Method: `GET`
  511. * Authentication: optional
  512. * Params: None
  513. * Response: JSON, a list of emoji/account list tuples, sorted by emoji insertion date, in ascending order, e.g, the first emoji in the list is the oldest.
  514. * Example Response:
  515. ```json
  516. [
  517. {"name": "😀", "count": 2, "me": true, "accounts": [{"id" => "xyz.."...}, {"id" => "zyx..."}]},
  518. {"name": "☕", "count": 1, "me": false, "accounts": [{"id" => "abc..."}]}
  519. ]
  520. ```
  521. ## `GET /api/v1/pleroma/statuses/:id/reactions/:emoji`
  522. ### Get an object of emoji to account mappings with accounts that reacted to the post for a specific emoji
  523. * Method: `GET`
  524. * Authentication: optional
  525. * Params: None
  526. * Response: JSON, a list of emoji/account list tuples
  527. * Example Response:
  528. ```json
  529. [
  530. {"name": "😀", "count": 2, "me": true, "accounts": [{"id" => "xyz.."...}, {"id" => "zyx..."}]}
  531. ]
  532. ```
  533. ## `POST /api/v1/pleroma/backups`
  534. ### Create a user backup archive
  535. * Method: `POST`
  536. * Authentication: required
  537. * Params: none
  538. * Response: JSON
  539. * Example response:
  540. ```json
  541. [{
  542. "content_type": "application/zip",
  543. "file_size": 0,
  544. "inserted_at": "2020-09-10T16:18:03.000Z",
  545. "processed": false,
  546. "url": "https://example.com/media/backups/archive-foobar-20200910T161803-QUhx6VYDRQ2wfV0SdA2Pfj_2CLM_ATUlw-D5l5TJf4Q.zip"
  547. }]
  548. ```
  549. ## `GET /api/v1/pleroma/backups`
  550. ### Lists user backups
  551. * Method: `GET`
  552. * Authentication: not required
  553. * Params: none
  554. * Response: JSON
  555. * Example response:
  556. ```json
  557. [{
  558. "content_type": "application/zip",
  559. "file_size": 55457,
  560. "inserted_at": "2020-09-10T16:18:03.000Z",
  561. "processed": true,
  562. "url": "https://example.com/media/backups/archive-foobar-20200910T161803-QUhx6VYDRQ2wfV0SdA2Pfj_2CLM_ATUlw-D5l5TJf4Q.zip"
  563. }]
  564. ```