Templates
add_images_to_template
TagmeClientAdvanced.add_images_to_template(template_id: str, files_paths: List[str], organization_id: str | None = None, ) → UploadFilesResult
Add images to a template.
Parameters |
* * * |
Returns |
The result of adding the images to the template. |
Return type |
apply_template_to_project
TagmeClientAdvanced.apply_template_to_project(template_id: str, project_id: str, organization_id: str | None = None, ) → None
Apply a template to a project.
Parameters |
* * * |
archive_template
TagmeClientAdvanced.archive_template(template_id: str, organization_id: str | None = None, ) → None
Archive a template.
Parameters |
* * |
check_template
TagmeClientAdvanced.check_template(template_id: str, organization_id: str | None = None, ) → CheckTemplateResult
Check a template.
Parameters |
* * |
Returns |
The result of the check. |
Return type |
create_template
TagmeClientAdvanced.create_template(name: str, description: str | None = None, documentation: str | None = None, contacts: str | None = None, categories: List[str] | None = None, from_method_id: str | None = None, organization_id: str | None = None, access: str | None = None, acl: List[str] | None = None, ) → Template
Create a new template.
Parameters |
* * * * * * * * * |
Returns |
The created template. |
Return type |
delete_template_preview
TagmeClientAdvanced.delete_template_preview(template_id: str, organization_id: str | None = None, ) → None
Delete the preview for a template.
Parameters |
* * |
get_published_templates_list
TagmeClientAdvanced.get_published_templates_list(query: str | None = None, categories: List[str] | None = None, size: int | None = None, page: int | None = None, organization_id: str | None = None, ) → List[Template]
Get a list of published templates.
Parameters |
* * * * * |
Returns |
A list of templates. |
Return type |
List[Template] |
get_template
TagmeClientAdvanced.get_template(template_id: str, organization_id: str | None = None, ) → Template
Get a template by ID.
Parameters |
* * |
Returns |
The template with the specified ID. |
Return type |
get_template_images_list
TagmeClientAdvanced.get_template_images_list(template_id: str, organization_id: str | None = None, ) → SimpleImagesListResult
Get a list of images for a template.
Parameters |
* * |
Returns |
A list of images for the template. |
Return type |
get_templates_list
TagmeClientAdvanced.get_templates_list(query: str | None = None, categories: List[str] | None = None, size: int | None = None, page: int | None = None, organization_id: str | None = None, ) → List[Template]
Get a list of templates.
Parameters |
* * * * * |
Returns |
A list of templates. |
Return type |
List[Template] |
publish_template
TagmeClientAdvanced.publish_template(template_id: str, organization_id: str | None = None, ) → None
Publish a template.
Parameters |
* * |
unpublish_template
TagmeClientAdvanced.unpublish_template(template_id: str, organization_id: str | None = None, ) → None
Unpublish a template.
Parameters |
* * |
update_template
TagmeClientAdvanced.update_template(template_id: str, name: str, description: str | None = None, documentation: str | None = None, contacts: str | None = None, categories: List[str] | None = None, organization_id: str | None = None, access: str | None = None, acl: List[str] | None = None, ) → Template
Update a template.
Parameters |
* * * * * * * * * |
Returns |
The updated template. |
Return type |
upload_template_preview
TagmeClientAdvanced.upload_template_preview(template_id: str, files_paths: List[str], organization_id: str | None = None, ) → PreviewFileResult
Upload a preview for a template.
Parameters |
* * * |
Returns |
The result of uploading the preview. |
Return type |