Skip to content

Marketplace Project Update Requests

Operations Summary

Method Endpoint Description
Core CRUD
GET /api/marketplace-project-update-requests/ List Marketplace Project Update Requests
GET /api/marketplace-project-update-requests/{uuid}/ Retrieve
Other Actions
POST /api/marketplace-project-update-requests/{uuid}/approve/ Approve project update request
POST /api/marketplace-project-update-requests/{uuid}/reject/ Reject project update request

Core CRUD

List Marketplace Project Update Requests

1
2
3
4
http \
  GET \
  https://api.example.com/api/marketplace-project-update-requests/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.marketplace_project_update_requests import marketplace_project_update_requests_list # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = marketplace_project_update_requests_list.sync(client=client)

for item in response:
    print(item)
  1. API Source: marketplace_project_update_requests_list
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
import { marketplaceProjectUpdateRequestsList } from 'waldur-js-client';

try {
  const response = await marketplaceProjectUpdateRequestsList({
  auth: "Token YOUR_API_TOKEN"
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Description
customer_uuid string (uuid)
offering_uuid string (uuid)
page integer A page number within the paginated result set.
page_size integer Number of results to return per page.
project_uuid string (uuid)
provider_uuid string (uuid)
state array

200 -

The response body is an array of objects, where each object has the following structure:

Field Type Description
uuid string (uuid)
state string
customer_name string
customer_uuid string
offering_name string
offering_uuid string (uuid)
created string (date-time)
reviewed_at string (date-time) Timestamp when the review was completed
reviewed_by_full_name string
reviewed_by_uuid string (uuid)
review_comment string Optional comment provided during review
old_name string
new_name string
old_description string
new_description string
old_end_date string (date)
new_end_date string (date)
old_oecd_fos_2007_code string
old_oecd_fos_2007_label string
new_oecd_fos_2007_code string
new_oecd_fos_2007_label string
old_is_industry boolean
new_is_industry boolean
created_by integer

Retrieve

1
2
3
4
http \
  GET \
  https://api.example.com/api/marketplace-project-update-requests/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.marketplace_project_update_requests import marketplace_project_update_requests_retrieve # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = marketplace_project_update_requests_retrieve.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client
)

print(response)
  1. API Source: marketplace_project_update_requests_retrieve
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { marketplaceProjectUpdateRequestsRetrieve } from 'waldur-js-client';

try {
  const response = await marketplaceProjectUpdateRequestsRetrieve({
  auth: "Token YOUR_API_TOKEN",
  path: {
    "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Required
uuid string (uuid)

200 -

Field Type Description
uuid string (uuid)
state string
customer_name string
customer_uuid string
offering_name string
offering_uuid string (uuid)
created string (date-time)
reviewed_at string (date-time) Timestamp when the review was completed
reviewed_by_full_name string
reviewed_by_uuid string (uuid)
review_comment string Optional comment provided during review
old_name string
new_name string
old_description string
new_description string
old_end_date string (date)
new_end_date string (date)
old_oecd_fos_2007_code string
old_oecd_fos_2007_label string
new_oecd_fos_2007_code string
new_oecd_fos_2007_label string
old_is_industry boolean
new_is_industry boolean
created_by integer

Other Actions

Approve project update request

Approve project update request

1
2
3
4
http \
  POST \
  https://api.example.com/api/marketplace-project-update-requests/a1b2c3d4-e5f6-7890-abcd-ef1234567890/approve/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.review_comment_request import ReviewCommentRequest # (1)
from waldur_api_client.api.marketplace_project_update_requests import marketplace_project_update_requests_approve # (2)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)

body_data = ReviewCommentRequest()
response = marketplace_project_update_requests_approve.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client,
    body=body_data
)

print(response)
  1. Model Source: ReviewCommentRequest
  2. API Source: marketplace_project_update_requests_approve
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { marketplaceProjectUpdateRequestsApprove } from 'waldur-js-client';

try {
  const response = await marketplaceProjectUpdateRequestsApprove({
  auth: "Token YOUR_API_TOKEN",
  path: {
    "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Required
uuid string (uuid)
Field Type Required
comment string

200 - No response body


Reject project update request

Reject project update request

1
2
3
4
http \
  POST \
  https://api.example.com/api/marketplace-project-update-requests/a1b2c3d4-e5f6-7890-abcd-ef1234567890/reject/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.review_comment_request import ReviewCommentRequest # (1)
from waldur_api_client.api.marketplace_project_update_requests import marketplace_project_update_requests_reject # (2)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)

body_data = ReviewCommentRequest()
response = marketplace_project_update_requests_reject.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client,
    body=body_data
)

print(response)
  1. Model Source: ReviewCommentRequest
  2. API Source: marketplace_project_update_requests_reject
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { marketplaceProjectUpdateRequestsReject } from 'waldur-js-client';

try {
  const response = await marketplaceProjectUpdateRequestsReject({
  auth: "Token YOUR_API_TOKEN",
  path: {
    "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Required
uuid string (uuid)
Field Type Required
comment string

200 - No response body