vdoc.methods.api package

Submodules

vdoc.methods.api.project_categories module

Contains all projects REST API methods.

vdoc.methods.api.project_categories.list_project_categories_impl()

Lists all project categories.

Return type:

list[ProjectCategory]

Returns:

A list of all projects.

vdoc.methods.api.projects module

Contains all projects REST API methods.

vdoc.methods.api.projects.get_project_version_impl(name, version)

Returns the requested version of the project.

Parameters:
  • name (str) – The project name.

  • version (str) – The requested version of the project.

Return type:

str

Returns:

The requested version of the project.

vdoc.methods.api.projects.list_project_versions_impl(name)

Lists all available versions of a project.

Parameters:

name (str) – The project name.

Return type:

list[str]

Returns:

A list of all available versions of the project.

vdoc.methods.api.projects.list_projects_impl()

Lists all projects.

Return type:

list[Project]

Returns:

A list of all projects.

vdoc.methods.api.projects.upload_project_version_impl(name, version, file)

Processes the uploaded documentation.

Parameters:
  • name (str) – The project name.

  • version (str) – The version of the project.

  • file (UploadFile) – The uploaded file.

Raises:
Return type:

JSONResponse

Returns:

_description_

Module contents

Contains all REST API methods.