POST createScss

POST /projects/{project-name}/branches/{branch-name}/@PLUGIN@~createScss

DESCRIPTION

Creates missing SourceChangeSubmitted(SCS) and SourceChangeCreated(SCC) events for all commits reachable from {branch-name}.

ACCESS

Administrate Server capability is required.

EXAMPLES

Create missing SCS events for master branch of project my/project:

  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"
  }

Response object

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).

SEE ALSO

GERRIT

Part of Gerrit Code Review