Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DescriptionCreate an event.

URL

/api/events

MethodPOST
 Security

Requires Project Administrator role to create an event.

Examples

  1. Create an event on project org.apache.struts:struts with administrator admin/admin:
    • Category: Alert
    • Name: myAlertName
    • Description: myAlertDescription
       

      Code Block
      languagenone
      curl -u admin:admin -d "resource=org.apache.struts:struts&category=Alert&name=myAlertName&description=myAlertDescription" http://localhost:9000/api/events

...