Dominio de acciones

package

Todas las acciones que este dominio expone vía gitlab_execute_action, del manifiesto gitlab://tools. Cada entrada se despliega a su descripción completa y sus parámetros obligatorios.

30 · acciones8 · destructivas12 · solo lectura

Contado con un token Free contra gitlab.com, que es el único host con el que habla este endpoint: para usarlo contra una instancia self-managed, levanta tú el servidor — su documentación lo cubre. El catálogo depende del token que pregunta, así que el recuento se mueve con su tier y con sus permisos: los tiers superiores exponen más acciones, y los dominios de administración solo aparecen a tokens autorizados a usarlos. Por eso las cifras difieren en otros sitios: el proyecto upstream cuenta 868 operaciones en Community Edition y hasta 1.094 en el tier más alto de GitLab.com, mientras que este despliegue publica 768 porque es solo-OAuth y actúa con tu token, así que los dominios de administración que una cuenta sin admin no puede llamar no aparecen nunca. Las tres describen el mismo catálogo, contado desde tres sitios distintos.

Cada entrada dice también qué necesita un token de acceso personal fine-grained de GitLab para ejecutarla, tal como lo declara GitLab 19.4.1: todos los permisos de una línea, en uno de los ámbitos indicados. Cuando hay alternativas, basta con cualquiera.

Volver a la ficha del servidor

  1. package.delete

    Package Deletedestructiva

    Delete a package permanently. Returns: a success confirmation naming the deleted package and project. See also: package.list, package.file_delete.

    Parámetros obligatorios: package_id (string|integer), project_id (string|integer)

    Token fine-grained: Package: Delete en proyecto

  2. package.download

    Package Download

    Download a single file from the Generic Package Registry to a local path. Returns: the local output path, byte size, and SHA256 checksum. See also: package.file_list, package.list.

    Parámetros obligatorios: file_name (string), output_path (string), package_name (string), package_version (string), project_id (string|integer)

    Token fine-grained: Package: Read en proyecto

  3. package.file_delete

    Package File Deletedestructiva

    Delete a single file from a package permanently. Returns: a success confirmation naming the deleted file, package, and project. See also: package.file_list, package.delete.

    Parámetros obligatorios: package_file_id (string|integer), package_id (string|integer), project_id (string|integer)

    Token fine-grained: Package: Delete en proyecto

  4. package.file_list

    Package File Listsolo lectura

    List the files within a single package. Returns: package files with name, size, checksums, creation time, the pipelines that built each, and pagination metadata. See also: package.download, package.file_delete, package.list.

    Parámetros obligatorios: package_id (string|integer), project_id (string|integer)

    Token fine-grained: Package: Read en proyecto

  5. package.get

    Package Getsolo lectura

    Get one package of a project with its other versions. Returns: the package's type, status, creator, pipeline metadata, tags, _links, and its other versions with their tags and the pipeline that built each. See also: package.list, package.file_list, package.delete.

    Parámetros obligatorios: package_id (string|integer), project_id (string|integer)

    Token fine-grained: Package: Read en proyecto

  6. package.group_list

    List Group Packagessolo lectura

    List packages across a group and its descendant projects with optional filters and ordering. Returns: matching packages with type, status, owning project id/path, pipeline metadata, tags, _links, and pagination metadata. See also: package.list, package.get, package.file_list, package.delete.

    Parámetros obligatorios: group_id (string|integer)

    Token fine-grained: Package: Read en grupo

  7. package.list

    Package Listsolo lectura

    List packages in a project with optional filters and ordering. Returns: matching packages with type, status, pipeline metadata, tags, _links, and pagination metadata. See also: package.get, package.file_list, package.publish, package.delete.

    Parámetros obligatorios: project_id (string|integer)

    Token fine-grained: Package: Read en proyecto

  8. package.protection_rule_create

    Create Package Protection Rule

    Create a package protection rule for a project. Returns: the new rule's id, project id, package name pattern, package type, and minimum push/delete access levels. See also: package.protection_rule_list, package.protection_rule_update, package.protection_rule_delete.

    Parámetros obligatorios: package_name_pattern (string), package_type (string), project_id (string|integer)

    Token fine-grained: Package: Create en proyecto

  9. package.protection_rule_delete

    Delete Package Protection Ruledestructiva

    Delete a package protection rule from a project by its id (cannot be undone). Returns: a success confirmation. See also: package.protection_rule_list, package.protection_rule_create.

    Parámetros obligatorios: project_id (string|integer), rule_id (integer)

    Token fine-grained: Package: Delete en proyecto

  10. package.protection_rule_list

    List Package Protection Rulessolo lectura

    List package protection rules for a project. Returns: each rule's id, project id, package name pattern, package type, and minimum push/delete access levels, with pagination metadata. For container image protection use package.registry_rule_list. See also: package.protection_rule_create, package.protection_rule_update.

    Parámetros obligatorios: project_id (string|integer)

    Token fine-grained: Package: Read en proyecto

  11. package.protection_rule_update

    Update Package Protection Rule

    Update an existing package protection rule by its id. Returns: the updated rule's id, project id, package name pattern, package type, and minimum push/delete access levels. See also: package.protection_rule_list, package.protection_rule_create, package.protection_rule_delete.

    Parámetros obligatorios: project_id (string|integer), rule_id (integer)

    Token fine-grained: Package: Update en proyecto

  12. package.publish

    Package Publish

    Publish a single file to the Generic Package Registry. Returns: the published file's id, package id, name, size, checksums (md5/sha1/sha256), and download URL. See also: package.publish_and_link, package.publish_directory, package.list.

    Parámetros obligatorios: file_name (string), package_name (string), package_version (string), project_id (string|integer)

    Token fine-grained: Package: Create en proyecto

  13. package.publish_directory

    Package Publish Directory

    Publish every regular file from a local directory to the Generic Package Registry. Returns: total files, total bytes, per-file results, and any per-file errors. See also: package.publish, package.publish_and_link, package.list.

    Parámetros obligatorios: directory_path (string), package_name (string), package_version (string), project_id (string|integer)

    Token fine-grained: Package: Create en proyecto

  14. package.registry_delete

    Registry Delete Repositorydestructiva

    Delete one container registry repository (cannot be undone). Returns: a success confirmation. See also: package.registry_list_project, package.registry_get, package.registry_tag_delete.

    Parámetros obligatorios: project_id (string|integer), repository_id (integer)

    Token fine-grained: Container Repository: Delete en proyecto

  15. package.registry_get

    Registry Get Repositorysolo lectura

    Get details of one container registry repository by its id. Returns: the repository's name, path, location, status, tag count, and optional tags. See also: package.registry_list_project, package.registry_tag_list, package.registry_delete.

    Parámetros obligatorios: repository_id (integer)

    Token fine-grained: Container Repository: Read en proyecto

  16. package.registry_list_group

    Registry List Groupsolo lectura

    List container registry image repositories across a group. Returns: each repository's id, name, path, location, status, tag count, and pagination metadata. See also: package.registry_list_project, package.registry_get.

    Parámetros obligatorios: group_id (string|integer)

    Token fine-grained: Container Repository: Read en grupo

  17. package.registry_list_project

    Registry List Projectsolo lectura

    List container registry image repositories in a project. Returns: each repository's id, name, path, location, status, tag count, optional tags, and pagination metadata. See also: package.registry_get, package.registry_tag_list, package.registry_list_group.

    Parámetros obligatorios: project_id (string|integer)

    Token fine-grained: Container Repository: Read en proyecto

  18. package.registry_rule_create

    Registry Protection Create

    Create a container registry protection rule for a project.

    Parámetros obligatorios: project_id (string|integer), repository_path_pattern (string)

    Token fine-grained: Container Repository Protection Rule: Create en proyecto

  19. package.registry_rule_delete

    Registry Protection Deletedestructiva

    Delete a container registry repository-path protection rule (cannot be undone). Returns: a success confirmation. See also: package.registry_rule_list, package.registry_rule_create.

    Parámetros obligatorios: project_id (string|integer), rule_id (integer)

    Token fine-grained: Container Repository Protection Rule: Delete en proyecto

  20. package.registry_rule_list

    Registry Protection Listsolo lectura

    List container registry repository-path protection rules for a project. Returns: each rule's path pattern and minimum push/delete access levels. For tag-level protection use package.registry_tag_rule_list. See also: package.registry_rule_create, package.registry_tag_rule_list.

    Parámetros obligatorios: project_id (string|integer)

    Token fine-grained: Container Repository Protection Rule: Read en proyecto

  21. package.registry_rule_update

    Registry Protection Update

    Update a container registry repository-path protection rule. Returns: the updated rule with its path pattern and minimum push/delete access levels. See also: package.registry_rule_list, package.registry_rule_delete, package.registry_rule_create.

    Parámetros obligatorios: project_id (string|integer), rule_id (integer)

    Token fine-grained: Container Repository Protection Rule: Update en proyecto

  22. package.registry_tag_delete

    Registry Delete Tagdestructiva

    Delete one container registry tag (cannot be undone). Returns: a success confirmation. See also: package.registry_tag_list, package.registry_tag_delete_bulk, package.registry_tag_get.

    Parámetros obligatorios: project_id (string|integer), repository_id (integer), tag_name (string)

    Token fine-grained: Container Repository: Delete en proyecto

  23. package.registry_tag_delete_bulk

    Registry Delete Tags Bulkdestructiva

    Delete container registry tags in bulk by name patterns and age (cannot be undone). Returns: a success confirmation. Deletion runs asynchronously. See also: package.registry_tag_list, package.registry_tag_delete.

    Parámetros obligatorios: project_id (string|integer), repository_id (integer)

    Token fine-grained: Container Repository: Delete en proyecto

  24. package.registry_tag_get

    Registry Get Tagsolo lectura

    Get metadata of one container registry tag. Returns: the tag's name, path, location, revision, digest, total size, and creation time. See also: package.registry_tag_list, package.registry_tag_delete.

    Parámetros obligatorios: project_id (string|integer), repository_id (integer), tag_name (string)

    Token fine-grained: Container Repository: Read en proyecto

  25. package.registry_tag_list

    Registry List Tagssolo lectura

    List tags in one container registry repository.

    Parámetros obligatorios: project_id (string|integer), repository_id (integer)

    Token fine-grained: Container Repository: Read en proyecto

  26. package.registry_tag_rule_create

    Registry Tag Protection Create

    Create a container registry tag protection rule. Returns: the created rule. Omit both minimum access levels to make matching tags immutable. See also: package.registry_tag_rule_list, package.registry_tag_rule_update, package.registry_rule_create.

    Parámetros obligatorios: project_id (string|integer), tag_name_pattern (string)

    Token fine-grained: Container Registry Protection Tag Rule: Create en proyecto

  27. package.registry_tag_rule_delete

    Registry Tag Protection Deletedestructiva

    Delete a container registry tag protection rule (cannot be undone). Returns: a success confirmation. See also: package.registry_tag_rule_list, package.registry_tag_rule_create.

    Parámetros obligatorios: project_id (string|integer), rule_id (integer)

    Token fine-grained: Container Registry Protection Tag Rule: Delete en proyecto

  28. package.registry_tag_rule_list

    Registry Tag Protection Listsolo lectura

    List container registry tag protection rules for a project. Returns: each rule's tag name pattern and minimum push/delete access levels (empty = immutable). For repository-path protection use package.registry_rule_list. See also: package.registry_tag_rule_create, package.registry_tag_list.

    Parámetros obligatorios: project_id (string|integer)

    Token fine-grained: Container Registry Protection Tag Rule: Read en proyecto

  29. package.registry_tag_rule_update

    Registry Tag Protection Update

    Update a container registry tag protection rule. Returns: the updated rule. See also: package.registry_tag_rule_list, package.registry_tag_rule_delete.

    Parámetros obligatorios: project_id (string|integer), rule_id (integer)

    Token fine-grained: Container Registry Protection Tag Rule: Update en proyecto