Skip to content

Commit 081e671

Browse files
committed
[DURACOM-412] updated items api to add findByCustomURL
1 parent 7993790 commit 081e671

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

items.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,3 +605,14 @@ Return codes:
605605
* 401 Unauthorized - if you are not authenticated
606606
* 403 Forbidden - if you are not logged in with sufficient permissions
607607
* 404 Not found - if the item doesn't exist (or was already deleted)
608+
609+
### findByCustomURL
610+
611+
**GET /api/core/items/search/findByCustomURL?q=<:custom-url>**
612+
613+
Search an item by the provided custom url. If the provided url is an UUID, a find by item's uuid is performed. The response has the same format of the find by uuid.
614+
615+
Return codes:
616+
* 200 OK - if the operation succeed
617+
* 204 No content - if the operation succeed but no item was found
618+
* 500 Internal server error - if multiple item was found related to the given url

0 commit comments

Comments
 (0)