Return list of searched tags.
Access depends on core.edit permissions at component or item level or item access level matching the requestor's account.
https://yourdomain.com/api/v1/tag/search
Option | Description |
---|---|
Response formats | JSON |
Requires authentication | Optional |
Rate limited | NO |
Name | Details |
---|---|
tag |
|
title |
|
flanguage |
|
published |
|
parent_id |
|
GET https://yourdomain.com/api/v1//api/v1/tag/search?tag=sample&title=&flanguage=&published=1parent_id=
{
"0": {
"value": "2",
"text": "Sample Tag A",
"path": "sample-tag-a"
},
"1": {
"value": "5",
"text": "Sample Tag A\/Sample Sub-tag 1",
"path": "sample-tag-a\/sample-sub-tag-1"
},
"2": {
"value": "3",
"text": "Sample Tag B",
"path": "sample-tag-b"
},
"3": {
"value": "6",
"text": "Sample Tag B\/Sample Sub-tag 2",
"path": "sample-tag-b\/sample-sub-tag-2"
},
"4": {
"value": "4",
"text": "Sample Tag C",
"path": "sample-tag-c"
},
"5": {
"value": "7",
"text": "Sample Tag C\/Sample Sub-tag 3",
"path": "sample-tag-c\/sample-sub-tag-3"
},
"error": false,
"status": 200
}
GET https://yourdomain.com/api/v1//api/v1/tag/search?tag=&title=Sample%20Tag%20B&flanguage=&published=1parent_id=
{
"0": {
"value": "3",
"text": "Sample Tag B",
"path": "sample-tag-b"
},
"error": false,
"status": 200
}
GET https://yourdomain.com/api/v1//api/v1/tag/search?tag=&title=&flanguage=&published=1parent_id=4
{
"0": {
"value": "4",
"text": "Sample Tag C",
"path": "sample-tag-c"
},
"1": {
"value": "7",
"text": "Sample Tag C\/Sample Sub-tag 3",
"path": "sample-tag-c\/sample-sub-tag-3"
},
"error": false,
"status": 200
}
GET https://yourdomain.com/api/v1//api/v1/tag/search?tag=&title=&flanguage=&published=1parent_id=
{
"0": {
"value": "2",
"text": "Sample Tag A",
"path": "sample-tag-a"
},
"1": {
"value": "5",
"text": "Sample Tag A\/Sample Sub-tag 1",
"path": "sample-tag-a\/sample-sub-tag-1"
},
"2": {
"value": "3",
"text": "Sample Tag B",
"path": "sample-tag-b"
},
"3": {
"value": "6",
"text": "Sample Tag B\/Sample Sub-tag 2",
"path": "sample-tag-b\/sample-sub-tag-2"
},
"4": {
"value": "4",
"text": "Sample Tag C",
"path": "sample-tag-c"
},
"5": {
"value": "7",
"text": "Sample Tag C\/Sample Sub-tag 3",
"path": "sample-tag-c\/sample-sub-tag-3"
},
"error": false,
"status": 200
}
HTTP/1.1 200 OK
Date: Sun, 03 Dec 2017 17:10:57 GMT
Server: Apache/2.4.6
X-Powered-By: PHP/7.0.25
Joomla-Sessionid: a54j7s3tt6ounc24fk0ape5j6
Access-Control-Allow-Headers: X-Requested-With, Origin, Content-Type, token, dlid, nonce, Authorization
Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: application/json