Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 533 Bytes

UPDATE_PROJECT.md

File metadata and controls

26 lines (19 loc) · 533 Bytes

Update Project

{% method %}

This API allows the administrator of the system to manually trigger the update of the Git repository from its remote.

POST /api/admin/project/<project id>/update

project id is the ID of the repository.

{% sample lang="http" %} Usage

$ curl -v -X POST https://insight.io/api/admin/project/github.com/apache/commons-logging/update?token=833808b68d2ebfd8e4db5aaf59085851f756a3f0f9d528b4063f831b8fe9755a

{% common %} Response

HTTP/1.1 200 OK

{% endmethod %}