Skip to content

Commit

Permalink
Update Queue endpoint and params docs
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Jun 21, 2021
1 parent 2b026ee commit 15a6697
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions docs/api/Queues.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A collection of [Items](/api/Items/).

## Endpoint
```
GET /api/{queue}
GET /api/data/{queue}
```
### Parameters
Name | Value
Expand All @@ -14,12 +14,13 @@ Name | Value
### Query String Options
Name | Description | Possible Values
- | - | -
`headersOnly` | When `"True"`, only meta data will be loaded. When `"False"` content will be parsed. (Defaults to `"False"`.) | `"True"` \| `"True"`
`headers_only` | When `"True"`, only meta data will be loaded. When `"False"` content will be parsed. (Defaults to `"True"`.) | `"True"` \| `"True"`

### Return Codes
Code | Description
- | -
`200 - Ok` | On success.
`404 - Not Found` | When the Queue does not exist.
`500 - Internal Service Error` | On failure.

## Properties
Expand All @@ -36,6 +37,18 @@ Type | Description
"ce"
```

### `Queue.path`
Type | Description
- | -
`String` | The absolute file path to the Queue.

!!! example
```js
console.log(Queue.path)
// Expected Output
"/home/pier/e/queue/Mail/ce"
```

### `Queue.items`
Type | Description
- | -
Expand Down

0 comments on commit 15a6697

Please sign in to comment.