| http \
GET \
https://api.example.com/api/checklists-admin/a1b2c3d4-e5f6-7890-abcd-ef1234567890/questions/ \
Authorization:"Token YOUR_API_TOKEN"
|
1
2
3
4
5
6
7
8
9
10
11
12
13 | from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.checklists_admin import checklists_admin_checklist_questions # (1)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = checklists_admin_checklist_questions.sync(
uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
client=client
)
for item in response:
print(item)
|
- API Source:
checklists_admin_checklist_questions
1
2
3
4
5
6
7
8
9
10
11
12
13 | import { checklistsAdminChecklistQuestions } from 'waldur-js-client';
try {
const response = await checklistsAdminChecklistQuestions({
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) |
✓ |
| Name |
Type |
Description |
checklist_type |
string |
Type of compliance this checklist addresses
Enum: customer_onboarding, offering_compliance, project_compliance, project_metadata, proposal_compliance |
checklist_type__in |
array |
Filter by multiple checklist types
|
page |
integer |
A page number within the paginated result set. |
page_size |
integer |
Number of results to return per page. |
200 -
The response body is an array of objects, where each object has the following structure:
| Field |
Type |
Description |
uuid |
string (uuid) |
|
required |
boolean |
|
description |
string |
|
user_guidance |
string |
Additional guidance text visible to users when answering and reviewing |
question_options |
array of objects |
|
question_options.uuid |
string (uuid) |
|
question_options.label |
string |
|
question_options.order |
integer |
|
question_options.url |
string (uri) |
|
question_options.question |
string (uri) |
|
question_options.question_uuid |
string (uuid) |
|
question_type |
any |
Type of question and expected answer format |
order |
integer |
|
min_value |
string (decimal) |
Minimum value allowed for NUMBER type questions |
max_value |
string (decimal) |
Maximum value allowed for NUMBER type questions |
allowed_file_types |
any |
List of allowed file extensions (e.g., ['.pdf', '.doc', '.docx']). If empty, all file types are allowed. |
allowed_mime_types |
any |
List of allowed MIME types (e.g., ['application/pdf', 'application/msword']). If empty, MIME type validation is not enforced. When both extensions and MIME types are specified, files must match both criteria for security. |
max_file_size_mb |
integer |
Maximum file size in megabytes. If not set, no size limit is enforced. |
max_files_count |
integer |
Maximum number of files allowed for MULTIPLE_FILES type questions. If not set, no count limit is enforced. |
operator |
any |
|
review_answer_value |
any |
Answer value that trigger review. |
always_requires_review |
boolean |
This question always requires review regardless of answer |
guidance_answer_value |
any |
Answer value that triggers display of user guidance. |
guidance_operator |
any |
Operator to use when comparing answer with guidance_answer_value |
always_show_guidance |
boolean |
Show user guidance always, regardless of answer. If False, guidance is conditional on answer matching guidance_answer_value with guidance_operator |
dependency_logic_operator |
any |
Defines how multiple dependencies are evaluated. AND: All dependencies must be satisfied. OR: At least one dependency must be satisfied. |
url |
string (uri) |
|
checklist_name |
string |
|
checklist_uuid |
string (uuid) |
|
checklist |
string (uri) |
|