diff options
author | lain <lain@soykaf.club> | 2019-10-04 12:52:11 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-10-04 12:52:11 +0000 |
commit | 27110793a7d8e3aa6434bde63a1f687424ae779c (patch) | |
tree | 441c190aa4fd53b005f2d16dbf0b7b57e2a9b5ca /docs/API | |
parent | 27e914955ebf150a08bcda04545f7df591dae151 (diff) | |
parent | 0fc29deba06b6a897f3534ce68abfdadcab12a6b (diff) | |
download | pleroma-27110793a7d8e3aa6434bde63a1f687424ae779c.tar.gz |
Merge branch 'featrue/job-monitor' into 'develop'
Add Pleroma.JobQueueMonitor
Closes #1274
See merge request pleroma/pleroma!1721
Diffstat (limited to 'docs/API')
-rw-r--r-- | docs/API/pleroma_api.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md index 3a8ef4e2c..0517bbdd7 100644 --- a/docs/API/pleroma_api.md +++ b/docs/API/pleroma_api.md @@ -317,7 +317,8 @@ See [Admin-API](admin_api.md) "active": 0, # active processes "idle": 0, # idle processes "memory_used": 0.00, # Memory used - "healthy": true # Instance state + "healthy": true, # Instance state + "job_queue_stats": {} # Job queue stats } ``` @@ -391,7 +392,7 @@ The status posting endpoint takes an additional parameter, `in_reply_to_conversa ### Update a file in a custom emoji pack * Method `POST` * Authentication: required -* Params: +* Params: * if the `action` is `add`, adds an emoji named `shortcode` to the pack `pack_name`, that means that the emoji file needs to be uploaded with the request (thus requiring it to be a multipart request) and be named `file`. @@ -408,7 +409,7 @@ The status posting endpoint takes an additional parameter, `in_reply_to_conversa ### Updates (replaces) pack metadata * Method `POST` * Authentication: required -* Params: +* Params: * `new_data`: new metadata to replace the old one * Response: JSON, updated "metadata" section of the pack and 200 status or 400 if there was a problem with the new metadata (the error is specified in the "error" part of the response JSON) @@ -417,7 +418,7 @@ The status posting endpoint takes an additional parameter, `in_reply_to_conversa ### Requests the instance to download the pack from another instance * Method `POST` * Authentication: required -* Params: +* Params: * `instance_address`: the address of the instance to download from * `pack_name`: the pack to download from that instance * Response: JSON, "ok" and 200 status if the pack was downloaded, or 500 if there were |