FavouriteApi


Remove from favourite Apps

Remove from favourite Apps.

URL

http://apis.wso2.com/api/appm/store/v1.1/apps/{appType}/id/{appId}/favourite-app

HTTP Method

DELETE

Scope

appm:read

CURL Example

curl -X POST -H "Authorization: Bearer c8c4399ba38982a21372012294ad1a54" -d '' "http://localhost:9763/api/appm/store/v1.1/apps/webapp/id/80391fcb-45fc-4bb4-a83d-fc991a99084d/favourite-app"

Sample Response

HTTP/1.1 200 OK

Parameters

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

Content-Type

required

Media type of the entity in the body. Default is JSON.

String

JSON

Responses

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. Resource to be deleted does not exist.

Error

Add to favourite Apps

Add to favourite Apps.

URL

http://apis.wso2.com/api/appm/store/v1.1/apps/{appType}/id/{appId}/favourite-app

HTTP Method

POST

Scope

appm:read

CURL Example

curl -X POST -H "Authorization: Bearer c8c4399ba38982a21372012294ad1a54" -H "Content-Type: application/json" -d '' "http://localhost:9763/api/appm/store/v1.1/apps/webapp/id/80391fcb-45fc-4bb4-a83d-fc991a99084d/favourite-app"

Sample Response

HTTP/1.1 200 OK

Parameters

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

Content-Type

required

Media type of the entity in the body. Default is JSON.

String

JSON

Responses

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. Resource to be deleted does not exist.

Error

Remove from the favourite page

Remove from the favourite page.

URL

http://apis.wso2.com/api/appm/store/v1.1/apps/favourite-page

HTTP Method

DELETE

Scope

appm:read

CURL Example

curl -X DELETE -H "Authorization: Bearer c8c4399ba38982a21372012294ad1a54" -d '' "http://localhost:9763/api/appm/store/v1.1/apps/webapp/id/80391fcb-45fc-4bb4-a83d-fc991a99084d/favourite-page"

Sample Request

Sample Response

HTTP/1.1 200 OK

Parameters

Type Name Description Schema Default

Responses

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. 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

Set as a favourite page

Set as a favourite page.

URL

http://apis.wso2.com/api/appm/store/v1.1/apps/favourite-page

HTTP Method

POST

Scope

appm:read

CURL Example

curl -X POST -H "Authorization: Bearer c8c4399ba38982a21372012294ad1a54" -H "Content-Type: application/json" -d '' "http://localhost:9763/api/appm/store/v1.1/apps/webapp/id/80391fcb-45fc-4bb4-a83d-fc991a99084d/favourite-page"

Sample Response

HTTP/1.1 200 OK

Parameters

Type Name Description Schema Default

Responses

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. 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