Skip to content

Support Feedbacks

Operations Summary

Method Endpoint Description
GET /api/support-feedbacks/ List Support Feedbacks
GET /api/support-feedbacks/{uuid}/ Retrieve
POST /api/support-feedbacks/ Create

List Support Feedbacks

1
2
3
4
http \
  GET \
  https://api.example.com/api/support-feedbacks/ \
  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.support_feedbacks import support_feedbacks_list # (1)

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

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

try {
  const response = await supportFeedbacksList({
  auth: "Token YOUR_API_TOKEN"
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Description
created_after string (date-time)
created_before string (date-time)
evaluation integer
issue string
issue_key string
issue_uuid string (uuid)
page integer A page number within the paginated result set.
page_size integer Number of results to return per page.
user string
user_full_name string User full name contains
user_uuid string (uuid)

200 -

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

Field Type
uuid string (uuid)
created string (date-time)
modified string (date-time)
state any
evaluation integer
comment string
issue_uuid string (uuid)
user_full_name string
issue_key string
issue_summary string

Retrieve

1
2
3
4
http \
  GET \
  https://api.example.com/api/support-feedbacks/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.support_feedbacks import support_feedbacks_retrieve # (1)

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

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

try {
  const response = await supportFeedbacksRetrieve({
  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
uuid string (uuid)
created string (date-time)
modified string (date-time)
state any
evaluation integer
comment string
issue_uuid string (uuid)
user_full_name string
issue_key string
issue_summary string

Create

1
2
3
4
5
6
http \
  POST \
  https://api.example.com/api/support-feedbacks/ \
  Authorization:"Token YOUR_API_TOKEN" \
  evaluation=123 \
  token="********"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.create_feedback_request import CreateFeedbackRequest # (1)
from waldur_api_client.api.support_feedbacks import support_feedbacks_create # (2)

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

body_data = CreateFeedbackRequest(
    evaluation=123,
    token="********"
)
response = support_feedbacks_create.sync(
    client=client,
    body=body_data
)

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

try {
  const response = await supportFeedbacksCreate({
  auth: "Token YOUR_API_TOKEN",
  body: {
    "evaluation": 123,
    "token": "********"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Field Type Required
comment string
evaluation integer
token string

201 -

Field Type
uuid string (uuid)
issue string (uri)
comment string
evaluation integer