Web Methods Events API

The Events API from Web Methods — 3 operation(s) for events.

GitHub OpenAPI

Operations 4

GET /events Retrieve the list of audit events #
DELETE /events Purge the audit events #
POST /events/transactions Store transactional events #
GET /events/{id} Get audit event by id #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/web-methods:web-methods-events-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

web-methods-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods Events API
  version: '10.11'
  description: 'Operations tagged Events across 2 of this provider''s published API definitions: devportal-events.yaml, web-methods-developer-portal-events-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:18101/portal/rest/v1
  description: Development server
tags:
- name: Events
paths:
  /events:
    get:
      security:
      - basicAuth: []
      operationId: getEvents
      summary: Retrieve the list of audit events
      description: Endpoint to retrieve the list of audit events. By default, this endpoint will return the Portal audit events that are created on the day of search. Search of events can be narrowed down based on the parameters
      parameters:
      - name: page
        in: query
        description: Optional parameter. Defines the page number to be retrieved for the collection. If not specified default value 0 is assumed. By default collection responses are paginated with batches of 10.
        required: false
        schema:
          type: integer
          default: 0
      - name: limit
        in: query
        description: Optional parameter. Defines the number of results to be fetched for the current page. If not specified default value configured in system settings will be considered.
        required: false
        schema:
          type: integer
          default: 12
      - name: from
        in: query
        schema:
          type: string
          format: date
          example: '2020-03-21'
        description: Start date to filter the events. Events that are created on or after the mentioned date will be listed. If no date is mentioned start of today is assumed. The start date parameter supports only following format **'yyyy-mm-dd'** example **'2020-03-21'**.
      - name: to
        in: query
        schema:
          type: string
          format: date
          example: '2020-04-01'
        description: End date to filter the events. Events that are created before the end date (current time) will be listed. If no date is mentioned current date with time till 23:59 is considered. End date should be after Start date. The end date parameter supports only following format **'yyyy-mm-dd'** example **'2020-04-01'**.
      - name: type
        in: query
        schema:
          type: string
          description: Comma separated Audit event names. Varies depending on the selected system parameter.
          enum:
          - $ref: '#/components/schemas/CoreEvents'
          - $ref: '#/components/schemas/UmcEvents'
      - name: system
        in: query
        schema:
          type: string
          description: Type of Audit events to fetch (Portal or UMC events)
          default: CORE
          enum:
          - CORE
          - UMC
        description: 'Event type to filter the events. Events of the requested type will be listed.

          #### Sample Portal event types

          - API_PUBLISH_EVENT

          - GATEWAY_APPLICATION_CREATION_REQUEST_EVENT

          - COMMUNITY_DELETION_EVENT

          - PLAN_PUBLISH_EVENT

          - TOPIC_UPDATE_EVENT

          - SIGN_UP_EVENT

          - etc....

          #### Sample UMC event types

          - LOGIN_SUCCESSFUL

          - USER_CREATION

          - GROUP_UPDATE

          - etc....'
      responses:
        '200':
          $ref: '#/components/responses/SearchResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '400':
          $ref: '#/components/responses/EventsErrorResponse'
      tags:
      - Events
    delete:
      security:
      - basicAuth: []
      operationId: purgeEvents
      summary: Purge the audit events
      description: Endpoint to purge the audit events within the given time range
      parameters:
      - name: from
        in: query
        schema:
          type: string
          format: date
          example: '2020-03-21'
        description: Start date to purge the events. Events that are created on or after the mentioned date will be purged. If no date is mentioned start of today is assumed. The start date parameter supports only following format **'yyyy-mm-dd'** example **'2020-03-21'**.
      - name: to
        in: query
        schema:
          type: string
          format: date
          example: '2020-04-01'
        description: End date to purge the events. Events that are created before the end date (current time) will be purged. If no date is mentioned current date with time till 23:59 is considered. End date should be after Start date. The end date parameter supports only following format **'yyyy-mm-dd'** example **'2020-04-01'**.
      - name: system
        in: query
        schema:
          type: string
          description: Type of Audit events to purge (Portal or UMC events)
          default: CORE
          enum:
          - CORE
          - UMC
      responses:
        '204':
          description: Purging of audit events was successful
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
      tags:
      - Events
    servers:
    - url: http://localhost:18101/portal/rest/v1
      description: Development server
  /events/transactions:
    post:
      security:
      - basicAuth: []
      summary: Store transactional events
      description: Store events received from third party providers
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransactionalEvents'
            examples:
              TransactionalEvent:
                $ref: '#/components/examples/TransactionalEvents'
      responses:
        202:
          description: Accepted
        500:
          description: Internal Error
      tags:
      - Events
      operationId: postEventsTransactions
      x-operation-id-source: derived
    servers:
    - url: http://localhost:18101/portal/rest/v1
      description: Development server
  /events/{id}:
    get:
      security:
      - basicAuth: []
      summary: Get audit event by id
      parameters:
      - name: id
        in: path
        description: Unique identification of Audit event. Refers to the GUID of the event.For example `d4a6bc0b-24dd-4035-862a-0f8f7608512e`
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/AuditResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: Not found
      tags:
      - Events
      operationId: getEventsById
      x-operation-id-source: derived
    servers:
    - url: http://localhost:18101/portal/rest/v1
      description: Development server
components:
  schemas:
    TransactionalEvents:
      type: object
      properties:
        request:
          type: string
          description: Request made during the transaction
        nativeHttpMethod:
          type: string
          description: Http method invoked
        apiName:
          type: string
          description: Name of the API tried
        responseCode:
          type: string
          description: Response code of the transaction
        apiVersion:
          type: string
          description: Version of the API
        providerTime:
          type: string
          description: Time taken by the provider
        apiId:
          type: string
          description: Id of the API invoked
        applicationName:
          type: string
          description: Name of the application
        applicationIp:
          type: string
          description: Ip address of the application
        consumerId:
          type: string
          description: Id of the consumer
        totalTime:
          type: string
          description: Total time taken for the transaction
        operationName:
          type: string
          description: Name of the operation invoked in the transaction
        totalSize:
          type: string
          description: Total size of the response
        response:
          type: string
          description: Actual response of the given transaction
        applicationId:
          type: string
          description: Id of the application
        consumerName:
          type: string
          description: Name of the consumer
    CoreEvents:
      title: List of Portal audit events
      description: Different kind of events are recorded by the API Portal. User could use any one this to query that particular type of event
      type: string
      example: API_PUBLISH_EVENT
      enum:
      - API_PUBLISH_EVENT
      - API_REPUBLISH_EVENT
      - API_UN_PUBLISH_EVENT
      - API_TRY_EVENT
      - GATEWAY_APPLICATION_CREATION_REQUEST_EVENT
      - GATEWAY_APPLICATION_SCOPE_INCREASE_REQUEST_EVENT
      - GATEWAY_APPLICATION_SCOPE_DECREASE_REQUEST_EVENT
      - GATEWAY_APPLICATION_UPDATION_REQUEST_EVENT
      - APPLICATION_REQUEST_PENDING_EVENT
      - APPLICATION_REQUEST_APPROVED_EVENT
      - APPLICATION_REQUEST_REJECTED_EVENT
      - APPLICATION_GRANTED_EVENT
      - APPLICATION_REVOKED_EVENT
      - APPLICATION_PUBLISH_EVENT
      - APPLICATION_SCOPE_CHANGE_EVENT
      - APPLICATION_UNPUBLISH_EVENT
      - COMMUNITY_CREATION_EVENT
      - COMMUNITY_DELETION_EVENT
      - COMMUNITY_MEMBERSHIP_CHANGE_EVENT
      - COMMUNITY_SCOPE_CHANGE_EVENT
      - PROVIDER_PUBLISH_EVENT
      - PROVIDER_REPUBLISH_EVENT
      - PROVIDER_UNPUBLISH_EVENT
      - PACKAGE_PUBLISH_EVENT
      - PACKAGE_REPUBLISH_EVENT
      - PACKAGE_UNPUBLISH_EVENT
      - PLAN_PUBLISH_EVENT
      - PLAN_REPUBLISH_EVENT
      - TOPIC_CREATION_EVENT
      - TOPIC_UPDATE_EVENT
      - TOPIC_DELETION_EVENT
      - COLLABORATION_FLAG_EVENT
      - COMMENT_CREATION_EVENT
      - COMMENT_UPDATE_EVENT
      - COMMENT_DELETION_EVENT
      - SIGN_UP_EVENT
      - CRON_EXECUTION_EVENT
      - LIFE_CYCLE_STATE_CHANGE_EVENT
      - FEATURE_CHANGE_EVENT
    AuditEventRepositoryObject:
      allOf:
      - $ref: '#/components/schemas/RepositoryObject'
      type: object
      properties:
        parameters:
          description: Event meta data
          type: object
          additionalProperties:
            type: object
          example:
            api_name: AccuWeather
        type:
          description: Type of the event
          type: object
          enum:
          - $ref: '#/components/schemas/EventType'
    RepositoryObject:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        summary:
          type: string
        description:
          type: string
        owner:
          type: string
        modified:
          type: string
          format: yyyy-MM-dd HH:mm
        created:
          type: string
          format: yyyy-MM-dd HH:mm
    UmcEvents:
      type: string
      description: List of UMC audit events
      enum:
      - LOGIN_SUCCESSFUL
      - LOGIN_FAILED
      - LOGOUT
      - LOGOUT_FORCED
      - USER_CREATION
      - USER_UPDATE
      - USER_DELETION
      - GROUP_CREATION
      - GROUP_UPDATE
      - GROUP_DELETION
      - PASSWORD_CHANGE
      - PASSWORD_RESET
      - PRIVILEGE_ASSIGNMENT
      - PRIVILEGE_UNASSIGNMENT
      - USER_SETTING_ADDED
      - USER_SETTING_REMOVED
    APIPortalErrorResponse:
      type: object
      properties:
        code:
          description: API Portal error code
          type: integer
        message:
          description: API Portal error response message
          type: string
    EventsErrorResponse:
      type: object
      properties:
        code:
          description: API Portal error code
          type: integer
        message:
          description: API Portal error response message
          type: string
        errors:
          description: Specific error message
          type: string
    SearchResponse:
      type: object
      properties:
        result:
          description: List of audit event records
          type: array
          items:
            $ref: '#/components/schemas/AuditEventRepositoryObject'
        count:
          description: Number of audit events matches for request query
          type: integer
        _links:
          description: List of available pagination links
          type: object
          additionalProperties:
            type: string
    EventType:
      title: Type of the event
      type: string
      example: API_TRY_EVENT
      enum:
      - API_PUBLISH_EVENT
      - API_REPUBLISH_EVENT
      - API_UN_PUBLISH_EVENT
      - PROVIDER_PUBLISH_EVENT
      - PROVIDER_REPUBLISH_EVENT
      - PROVIDER_UNPUBLISH_EVENT
      - SIGN_UP_EVENT
      - APPLICATION_REQUEST_EVENT
      - APPLICATION_CREATION_REQUEST_EVENT
      - APPLICATION_REQUEST_APPROVED_EVENT
      - APPLICATION_REQUEST_REJECTED_EVENT
      - COMMUNITY_CREATION_EVENT
      - COMMUNITY_DELETION_EVENT
      - COMMUNITY_MEMBERSHIP_CHANGE_EVENT
      - COMMUNITY_SCOPE_CHANGE_EVENT
      - IN_APP_NOTIFICATION_EVENT
      - EMAIL_NOTIFICATION_EVENT
      - API_TRY_EVENT
  examples:
    APIPortalErrorResponseUnauthorized:
      value:
        code: 401
        message: Invalid credentials
    EventsErrorResponse:
      value:
        code: 400
        message: User provided data is not correct
        errors:
        - Future date is not allowed in the 'to' parameter
    APIPortalErrorResponseForbidden:
      value:
        code: 403
        message: Insufficient privileges
    AuditResponse:
      value:
        id: bfe798fc-71e0-4300-8b74-d86524565a64
        parameters:
          provider_id: 677e11aa-3ce0-45e4-9590-731c61fcd402
          source: ProviderManager
          provider_name: Provider1
          created_by: 54b53072-540e-3eb8-b8e9-343e71f28176
        type: PROVIDER_PUBLISH_EVENT
    TransactionalEvents:
      value:
        request: null
        nativeHttpMethod: get
        apiName: quotes
        responseCode: 200
        apiVersion: 1.0
        providerTime: 4711
        apiId: 80102551-e7da-11ea-79ab-026fa4f0ed6c
        applicationName: Sample
        applicationIp: 127.0.0.1
        consumerId: 567f89cb-8182-3272-b69e-5d8532eb3ac5
        totalTime: 6264
        operationName: /api/v1/quotes/{quoteNumber}
        totalSize: 4663
        response: Some String response
        applicationId: d0580b41-4167-11eb-0217-0672e01da194
        consumerName: john.doe@sample.com
    UmcAuditSearchResponse:
      value:
        result:
        - type: USER_UPDATE
          created: 2021-09-20T06:46+0000
          modified: 2021-09-20T06:46+0000
          parameters:
            field: LAST_NAME
            executor: administrator
            clientIp: null
            sessionType: UMC
            sessionId: 8c2eb45cc11857206b52b470b5e5e023
            userName: testuser
            userId: f7478165-755c-362c-b8ac-92119fabf588
            value: lastnamemodified
            nodeId: null
        count: 1
        _links:
          _self: /portal/rest/v1/events?from=2021-09-16&to=2021-09-20&system=UMC&page=0
    PortalAuditSearchResponse:
      value:
        result:
        - id: bfe798fc-71e0-4300-8b74-d86524565a64
          parameters:
            provider_id: 677e11aa-3ce0-45e4-9590-731c61fcd402
            source: ProviderManager
            provider_name: Provider1
            created_by: 54b53072-540e-3eb8-b8e9-343e71f28176
          type: PROVIDER_PUBLISH_EVENT
        count: 1
        _links:
          _self: /portal/rest/v1/events?from=2021-09-16&to=2021-09-20&page=0
  responses:
    Unauthorized:
      description: There is no such user
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/APIPortalErrorResponse'
          examples:
            401:
              $ref: '#/components/examples/APIPortalErrorResponseUnauthorized'
    EventsErrorResponse:
      description: Error occurred while retrieving the audit event
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/EventsErrorResponse'
          examples:
            400:
              $ref: '#/components/examples/EventsErrorResponse'
    Forbidden:
      description: User does not have sufficient privilages to perform this operation
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/APIPortalErrorResponse'
          examples:
            403:
              $ref: '#/components/examples/APIPortalErrorResponseForbidden'
    AuditResponse:
      description: Successfully retrieved the audit event with the given id
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AuditEventRepositoryObject'
          examples:
            AuditResponse:
              $ref: '#/components/examples/AuditResponse'
    SearchResponse:
      description: Successfully retrieved the events in API Portal
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SearchResponse'
          examples:
            PortalAuditSearchResponse:
              $ref: '#/components/examples/PortalAuditSearchResponse'
            UmcAuditSearchResponse:
              $ref: '#/components/examples/UmcAuditSearchResponse'
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
x-refined-from:
- devportal-events.yaml
- web-methods-developer-portal-events-openapi.yml