POST /projects/{project-name}/branches/{branch-name}/@PLUGIN@~createScss
Creates missing SourceChangeSubmitted(SCS) and SourceChangeCreated(SCC) events for all commits reachable from {branch-name}.
Administrate Server capability is required.
curl -X POST --user janeadmin:secret \
-H "content-type:application/json" \
http://host:port/a/projects/my%2Fproject/branches/master/@PLUGIN@~createScss
Response:
)]}'
{
"types": [
"EiffelSourceChangeCreatedEvent",
"EiffelSourceChangeSubmittedEvent",
],
"repo_name": "my/project",
"ref": "refs/heads/master",
"status": "Event creation scheduled",
"branch": "refs/heads/master"
}
types : The types of events that will be created.
repo_name : Name of the repository.
ref : The ref from which reachable commits will result in SCC events.
branch: : The branch for which these events will be created (data.gitIdentifier.branch).
Part of Gerrit Code Review