diff options
author | Matt Coleman <matt@datto.com> | 2017-09-21 16:05:44 -0400 |
---|---|---|
committer | Matt Coleman <matt@datto.com> | 2017-10-13 13:42:53 -0400 |
commit | c207122fd2b4439ff8303a1860c35de658d6bdfb (patch) | |
tree | e4eb0e289ea4170fdc56715ab5af8a0c596279ed /doc/api/services.md | |
parent | a854431c6f08386f1a265c524f7dfdba4c59368a (diff) | |
download | gitlab-ce-c207122fd2b4439ff8303a1860c35de658d6bdfb.tar.gz |
Add Packagist project service
Diffstat (limited to 'doc/api/services.md')
-rw-r--r-- | doc/api/services.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/api/services.md b/doc/api/services.md index 49b87a4228c..dd923843645 100644 --- a/doc/api/services.md +++ b/doc/api/services.md @@ -582,6 +582,40 @@ Delete Mattermost slash command service for a project. DELETE /projects/:id/services/mattermost-slash-commands ``` +## Packagist + +Update your project on Packagist, the main Composer repository, when commits or tags are pushed to GitLab. + +### Create/Edit Packagist service + +Set Packagist service for a project. + +``` +PUT /projects/:id/services/packagist +``` + +Parameters: + +- `username` (**required**) +- `token` (**required**) +- `server` (optional) + +### Delete Packagist service + +Delete Packagist service for a project. + +``` +DELETE /projects/:id/services/packagist +``` + +### Get Packagist service settings + +Get Packagist service settings for a project. + +``` +GET /projects/:id/services/packagist +``` + ## Pipeline-Emails Get emails for GitLab CI pipelines. |