summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMatt Coleman <matt@datto.com>2017-09-21 16:05:44 -0400
committerMatt Coleman <matt@datto.com>2017-10-13 13:42:53 -0400
commitc207122fd2b4439ff8303a1860c35de658d6bdfb (patch)
treee4eb0e289ea4170fdc56715ab5af8a0c596279ed /doc
parenta854431c6f08386f1a265c524f7dfdba4c59368a (diff)
downloadgitlab-ce-c207122fd2b4439ff8303a1860c35de658d6bdfb.tar.gz
Add Packagist project service
Diffstat (limited to 'doc')
-rw-r--r--doc/api/services.md34
-rw-r--r--doc/user/project/integrations/project_services.md1
2 files changed, 35 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.
diff --git a/doc/user/project/integrations/project_services.md b/doc/user/project/integrations/project_services.md
index 51989ccaaea..a0405161495 100644
--- a/doc/user/project/integrations/project_services.md
+++ b/doc/user/project/integrations/project_services.md
@@ -43,6 +43,7 @@ Click on the service links to see further configuration instructions and details
| [Mattermost slash commands](mattermost_slash_commands.md) | Mattermost chat and ChatOps slash commands |
| [Mattermost Notifications](mattermost.md) | Receive event notifications in Mattermost |
| [Microsoft teams](microsoft_teams.md) | Receive notifications for actions that happen on GitLab into a room on Microsoft Teams using Office 365 Connectors |
+| Packagist | Update your project on Packagist, the main Composer repository |
| Pipelines emails | Email the pipeline status to a list of recipients |
| [Slack Notifications](slack.md) | Send GitLab events (e.g. issue created) to Slack as notifications |
| [Slack slash commands](slack_slash_commands.md) | Use slash commands in Slack to control GitLab |