...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
URL: /v2/projects/{project-name}/composite-apps/{composite-app-name}/{verison}/composite-profiles
POST BODY:
{
"profile-name": "test",
"description": "<description>",
}
RETURN STATUS: 201
RETURN BODY:
{
"profile-name": "test",
"description": "<description>",
} |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
GET URL: /v2/project/{project-name}/composite-apps/{composite-app-name}/{version}/composite-profiles/{composite-profile-name} RETURN STATUS: 200 RETURN BODY: { "name": "test", "description": "<description>" } DELETE URL: /v2/projects/{project-name}/composite-apps/{app-name}/{app-version}/composite-profiles/{composite-profile-name} RETURN STATUS: 204 |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
URL: /v2/projects/{project-name}/composite-apps/{composite-app-name}/{verison}/composite-profiles/{composite-profile-name}/appsprofiles POST BODY: { "profile-name": "test", "app-name": "test<name>", // Must match the name given in composite-apps/apps API "description": "<description>" } Multipart request containg tar.gz of the profile RETURN STATUS: 201 RETURN BODY: { "profile-name": "test", "app-name": "test<name>", "description": "<description>" } |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
GET
URL: /v2/project/{project-name}/composite-apps/{composite-app-name}/{version}/profiles/{profile-name}
RETURN STATUS: 200
RETURN BODY:
{
"profile-name": "test",
"app-name": "<name>",
"description": "testing resource bundle definition api"
}
Multipart response containing the tar.gz of the profile
DELETE
URL: /v2/project/{project-name}/composite-apps/{composite-app-name}/{version}/profiles/{profile-name}
RETURN STATUS: 204 |
...