mirror of
https://github.com/chylex/Nextcloud-News.git
synced 2025-04-13 22:15:43 +02:00
add item types to api docs
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
This commit is contained in:
parent
a66d62d1d7
commit
932b88a39c
@ -399,6 +399,30 @@ The following attributes are **not sanitized** meaning: including them in your w
|
|||||||
* **mediaThumbnail**
|
* **mediaThumbnail**
|
||||||
* **mediaDescription**
|
* **mediaDescription**
|
||||||
|
|
||||||
|
#### Types
|
||||||
|
| Name | Default | Types |
|
||||||
|
|------------------|---------|--------------|
|
||||||
|
| author | null | string\|null |
|
||||||
|
| body | | string\|null |
|
||||||
|
| contentHash | | string\|null |
|
||||||
|
| enclosureLink | | string\|null |
|
||||||
|
| enclosureMime | | string\|null |
|
||||||
|
| feedId | | int |
|
||||||
|
| fingerprint | | string\|null |
|
||||||
|
| guid | | string |
|
||||||
|
| guidHash | | string |
|
||||||
|
| id | | int |
|
||||||
|
| lastModified | \"0\" | string\|null |
|
||||||
|
| mediaDescription | | string\|null |
|
||||||
|
| mediaThumbnail | | string\|null |
|
||||||
|
| pubDate | | int\|null |
|
||||||
|
| rtl | false | bool |
|
||||||
|
| starred | false | bool |
|
||||||
|
| title | | string\|null |
|
||||||
|
| unread | false | bool |
|
||||||
|
| updatedDate | | string\|null |
|
||||||
|
| url | | string\|null |
|
||||||
|
|
||||||
#### Get items
|
#### Get items
|
||||||
* **Status**: Implemented
|
* **Status**: Implemented
|
||||||
* **Method**: GET
|
* **Method**: GET
|
||||||
|
@ -399,6 +399,30 @@ The following attributes are **not sanitized** meaning: including them in your w
|
|||||||
* **mediaThumbnail**
|
* **mediaThumbnail**
|
||||||
* **mediaDescription**
|
* **mediaDescription**
|
||||||
|
|
||||||
|
#### Types
|
||||||
|
| Name | Default | Types |
|
||||||
|
|------------------|---------|--------------|
|
||||||
|
| author | null | string\|null |
|
||||||
|
| body | | string\|null |
|
||||||
|
| contentHash | | string\|null |
|
||||||
|
| enclosureLink | | string\|null |
|
||||||
|
| enclosureMime | | string\|null |
|
||||||
|
| feedId | | int |
|
||||||
|
| fingerprint | | string\|null |
|
||||||
|
| guid | | string |
|
||||||
|
| guidHash | | string |
|
||||||
|
| id | | int |
|
||||||
|
| lastModified | \"0\" | string\|null |
|
||||||
|
| mediaDescription | | string\|null |
|
||||||
|
| mediaThumbnail | | string\|null |
|
||||||
|
| pubDate | | int\|null |
|
||||||
|
| rtl | false | bool |
|
||||||
|
| starred | false | bool |
|
||||||
|
| title | | string\|null |
|
||||||
|
| unread | false | bool |
|
||||||
|
| updatedDate | | string\|null |
|
||||||
|
| url | | string\|null |
|
||||||
|
|
||||||
#### Get items
|
#### Get items
|
||||||
* **Status**: Implemented
|
* **Status**: Implemented
|
||||||
* **Method**: GET
|
* **Method**: GET
|
||||||
|
@ -181,7 +181,7 @@ class Item extends Entity implements IAPI, \JsonSerializable
|
|||||||
$search_string = "";
|
$search_string = "";
|
||||||
|
|
||||||
foreach ($input_list as $value) {
|
foreach ($input_list as $value) {
|
||||||
if (is_null($value)){
|
if (is_null($value)) {
|
||||||
$search_string .= "";
|
$search_string .= "";
|
||||||
} else {
|
} else {
|
||||||
html_entity_decode($value);
|
html_entity_decode($value);
|
||||||
|
Loading…
Reference in New Issue
Block a user