POST createArtcs

POST /projects/{project-name}/tags/{tag-name}/@PLUGIN@~createArtcs

DESCRIPTION

Creates missing ArtifactCreatedEvent(ARTC) , CompositionDefinedEvent(CD) , SourceChangeSubmitted(SCS) and SourceChangeCreated(SCC) events for commit pointed by {tag-name}.

ACCESS

Administrate Server capability is required.

EXAMPLES

Create missing ARTC events for the tag stable-3.5 of project my/project:

  curl -X POST --user janeadmin:secret \
    -H "content-type:application/json" \
    http://host:port/a/projects/my%2Fproject/tags/stable-3.5/@PLUGIN@~createArtcs

Response:

  )]}'
  {
   "types": [
     "EiffelArtifactCreatedEvent",
     "EiffelCompositionDefinedEvent",
     "EiffelSourceChangeCreatedEvent",
     "EiffelSourceChangeSubmittedEvent",
   ],
   "repo_name": "my/project",
   "ref": "refs/tags/stable-3.5",
   "status": "Event creation scheduled",
  }

Response object

types : The types of events that may be created.

repo_name : Name of the repository.

ref : The ref of the tag from which we will create an ARTC event.

SEE ALSO

GERRIT

Part of Gerrit Code Review