openapi: 3.1.0 info: title: Fortify on Demand Alert Definitions Notifications API description: REST API for Fortify on Demand (FoD), the cloud-based application security testing service from OpenText. Provides programmatic access to manage applications, releases, initiate static, dynamic, and mobile scans, retrieve vulnerability results, and manage tenant-level settings. Supports OAuth2 client credentials and resource owner password grant flows for authentication. version: v3 contact: name: OpenText Fortify Support url: https://www.opentext.com/support email: fortify-support@microfocus.com license: name: Proprietary url: https://www.opentext.com/about/legal/website-terms-of-use x-logo: url: https://www.microfocus.com/brand/fortify-logo.png servers: - url: https://api.ams.fortify.com description: Fortify on Demand - Americas - url: https://api.emea.fortify.com description: Fortify on Demand - EMEA - url: https://api.apac.fortify.com description: Fortify on Demand - APAC security: - bearerAuth: [] tags: - name: Notifications description: Manage user notifications paths: /api/v3/notifications/unread: get: operationId: listUnreadNotifications summary: Fortify List unread notifications description: Retrieves a paginated list of unread notifications for the authenticated user. tags: - Notifications parameters: - $ref: '#/components/parameters/Filters' - $ref: '#/components/parameters/OrderBy' - $ref: '#/components/parameters/OrderByDirection' - $ref: '#/components/parameters/Fields' - $ref: '#/components/parameters/Offset' - $ref: '#/components/parameters/Limit' responses: '200': description: Successful response with list of unread notifications content: application/json: schema: $ref: '#/components/schemas/NotificationListResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '429': $ref: '#/components/responses/TooManyRequests' /api/v3/notifications/read: get: operationId: listReadNotifications summary: Fortify List read notifications description: Retrieves a paginated list of read notifications for the authenticated user. tags: - Notifications parameters: - $ref: '#/components/parameters/Filters' - $ref: '#/components/parameters/OrderBy' - $ref: '#/components/parameters/OrderByDirection' - $ref: '#/components/parameters/Fields' - $ref: '#/components/parameters/Offset' - $ref: '#/components/parameters/Limit' responses: '200': description: Successful response with list of read notifications content: application/json: schema: $ref: '#/components/schemas/NotificationListResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '429': $ref: '#/components/responses/TooManyRequests' /api/v3/notifications/markasread: post: operationId: markNotificationsAsRead summary: Fortify Mark notifications as read description: Marks one or more notifications as read. tags: - Notifications requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/MarkNotificationsAsReadRequest' responses: '204': description: Notifications marked as read successfully '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '429': $ref: '#/components/responses/TooManyRequests' components: responses: Forbidden: description: Forbidden - insufficient permissions or scopes content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' TooManyRequests: description: Too many requests - rate limit exceeded content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' Unauthorized: description: Unauthorized - authentication required or token expired content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' BadRequest: description: Bad request - invalid parameters or request body content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' schemas: NotificationListResponse: type: object description: Paginated list of notifications properties: items: type: array items: $ref: '#/components/schemas/Notification' totalCount: type: integer format: int32 MarkNotificationsAsReadRequest: type: object description: Request body for marking notifications as read properties: notificationIds: type: array items: type: integer format: int32 description: List of notification identifiers to mark as read ErrorResponse: type: object description: Error response properties: errors: type: array items: type: object properties: errorCode: type: integer format: int32 message: type: string Notification: type: object description: Represents a notification properties: notificationId: type: integer format: int32 description: Unique identifier notificationType: type: string description: Type of notification message: type: string description: Notification message isRead: type: boolean description: Whether the notification has been read createdDate: type: string format: date-time description: Date when the notification was created parameters: Limit: name: limit in: query description: Maximum number of records to return (max 50) schema: type: integer format: int32 default: 50 maximum: 50 OrderByDirection: name: orderByDirection in: query description: Sort direction schema: type: string enum: - ASC - DESC Offset: name: offset in: query description: Number of records to skip for pagination schema: type: integer format: int32 default: 0 Filters: name: filters in: query description: Filter expression using Fortify on Demand filter syntax. Multiple filters can be combined. schema: type: string OrderBy: name: orderBy in: query description: Field name to sort results by schema: type: string Fields: name: fields in: query description: Comma-separated list of fields to include in the response schema: type: string securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT description: OAuth2 Bearer token obtained from POST /oauth/token using either client_credentials or password grant type. externalDocs: description: Fortify on Demand API Reference url: https://api.ams.fortify.com/swagger/ui/index