Delete Tags relevant to an App by AppId.
http://apis.wso2.com/api/appm/publisher/v1.1/apps/{appType}/id/{appId}/tags
DELETE
appm:create
curl -X DELETE -H "Authorization: Bearer 4be7890951f36d5c44a68d5a35227ceb" -H "Content-Type: application/json" -d '{"tags":["tag1","tag2"]}' "http://localhost:9763/api/appm/publisher/v1.1/apps/webapp/id/95e497dd-ebb0-414f-9718-88857a153780/tags"
HTTP/1.1 200 OK
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
appType required |
The App type (either Webapp/Mobile app). |
String | |
Path |
appId required |
**APP ID** consisting of the **UUID** of the App. The following combination is also accepted as a valid APP ID: the provider of the app, name of the app and the version. Should be formatted as **provider-name-version**. |
String | |
Body |
body required |
Tag object that needs to be added. |
TagList (TagList) | |
Header |
If-Match optional |
Validator for conditional requests; based on the ETag. |
String | |
Header |
If-Unmodified-Since optional |
Validator for conditional requests; based on the Last Modified header. |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Resource successfully deleted. |
|
403 |
Forbidden. The request must be conditional but no condition has been specified. |
Error |
404 |
Not Found. Resource to be deleted does not exist. |
Error |
412 |
Precondition Failed. The request has not been performed because one of the preconditions is not met. |
Error |
Get a list of available Tags relevant to the given App Internal ID.
http://apis.wso2.com/api/appm/publisher/v1.1/apps/{appType}/id/{appId}/tags
GET
appm:read
curl -X GET -H "Authorization: Bearer e099014668a524870c2895fe0595f125" "http://localhost:9763/api/appm/store/v1.1/apps/webapp/tags"
HTTP/1.1 200 OK
Content-Type: application/json
{"tags":["tagA","tagB","tagC"]}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
appType required |
The App type (either Webapp/Mobile app). |
String | |
Path |
appId required |
**APP ID** consisting of the **UUID** of the App. The following combination is also accepted as a valid APP ID: the provider of the app, name of the app and the version. Should be formatted as **provider-name-version**. |
String | |
Header |
Accept optional |
Media types acceptable for the response. Default is JSON. |
String |
JSON |
Header |
If-None-Match optional |
Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. List of tags is returned. |
TagList |
400 |
Bad Request. Invalid request or validation error. |
Error |
403 |
Forbidden. The request must be conditional but no condition has been specified. |
Error |
404 |
Not Found. The resource to be updated does not exist. |
Error |
Add a new tag/tags to the tag collection of a given application type.
http://apis.wso2.com/api/appm/publisher/v1.1/apps/{appType}/id/{appId}/tags
PUT
appm:create
curl -X PUT -H "Authorization: Bearer 4be7890951f36d5c44a68d5a35227ceb"
-H "Content-Type: application/json"
-d '{"tags":["tagA","tagB","tagC"]}' "http://localhost:9763/api/appm/publisher/v1.1/apps/webapp/id/00fafc68-d8bb-498f-9ef3-afbb6db06826/tags"
{"tags":["tagA","tagB","tagC"]}
HTTP/1.1 200 OK
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
appType required |
The App type (either Webapp/Mobile app). |
String | |
Path |
appId required |
**APP ID** consisting of the **UUID** of the App. The following combination is also accepted as a valid APP ID: the provider of the app, name of the app and the version. Should be formatted as **provider-name-version**. |
String | |
Body |
body required |
Tag object that needs to be added. |
TagList (TagList) | |
Header |
Content-Type required |
Media type of the entity in the body. Default is JSON. |
String |
JSON |
Header |
If-Match optional |
Validator for conditional requests; based on the ETag. |
String | |
Header |
If-Unmodified-Since optional |
Validator for conditional requests; based on the Last Modified header. |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. |
|
400 |
Bad Request. Invalid request or validation error. |
Error |
403 |
Forbidden. The request must be conditional but no condition has been specified. |
Error |
404 |
Not Found. The resource to be updated does not exist. |
Error |
412 |
Precondition Failed. The request has not been performed because one of the preconditions is not met. |
Error |
Get a list of available tags relevant to the given App type.
http://apis.wso2.com/api/appm/publisher/v1.1/apps/{appType}/tags
GET
appm:read
curl -X GET -H "Authorization: Bearer 0c0338592beefe7225bd6d869e93ca06" "http://localhost:9763/api/appm/publisher/v1.1/apps/webapp/tags"
[{"name":"webapptag1","noOfOccurrences":1},{"name":"webapptag2","noOfOccurrences":1},{"name":"webapptag3","noOfOccurrences":1}]
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
appType required |
The App type (either Webapp/Mobile app). |
String | |
Header |
Accept optional |
Media types acceptable for the response. Default is JSON. |
String |
JSON |
Header |
If-None-Match optional |
Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. List of tags is returned. |
TagList |
400 |
Bad Request. Invalid request or validation error. |
Error |
403 |
Forbidden. The request must be conditional but no condition has been specified. |
Error |
404 |
Not Found. The resource to be updated does not exist. |
Error |