Solvimon features API
The features API from Solvimon — 2 operation(s) for features.
The features API from Solvimon — 2 operation(s) for features.
openapi: 3.1.0
info:
title: Configuration alertRules features API
version: 1.0.0
servers:
- url: https://test.api.solvimon.com
description: The TEST environment for our API
- url: https://api.solvimon.com
description: The live environment for our API
tags:
- name: features
paths:
/v{version}/features:
get:
operationId: getFeatures
summary: Get a list of all features
description: Requires the FEATURE.VIEW permission.
tags:
- features
parameters:
- name: version
in: path
description: version
required: true
schema:
type: string
default: '1'
- name: limit
in: query
description: The amount of records shown in the list
required: false
schema:
type: integer
- name: page
in: query
description: The page which is going to be shown
required: false
schema:
type: integer
- name: order_by
in: query
description: The parameter by which the response is ordered.
required: false
schema:
type: string
- name: order_direction
in: query
description: The order direction by which the response is ordered.
required: false
schema:
type: string
- name: X-API-KEY
in: header
required: true
schema:
type: string
- name: x-platform-id
in: header
description: Platform ID.
required: false
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/FeatureResponseWrapper'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
post:
operationId: postFeatures
summary: Create a feature
description: Requires the FEATURE.CREATE permission.
tags:
- features
parameters:
- name: version
in: path
description: version
required: true
schema:
type: string
default: '1'
- name: X-API-KEY
in: header
required: true
schema:
type: string
- name: x-platform-id
in: header
description: Platform ID.
required: false
schema:
type: string
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/Feature'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/FeatureCreateRequest'
put:
operationId: putFeatures
summary: Update or create a feature (upsert)
description: Requires the FEATURE.CREATE or FEATURE.UPDATE permission.
tags:
- features
parameters:
- name: version
in: path
description: version
required: true
schema:
type: string
default: '1'
- name: X-API-KEY
in: header
required: true
schema:
type: string
- name: x-platform-id
in: header
description: Platform ID.
required: false
schema:
type: string
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/Feature'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/FeatureCreateRequest'
/v{version}/features/{resourceId}:
get:
operationId: getFeaturesByResourceId
summary: Get a feature by resource ID
description: Requires the FEATURE.VIEW permission.
tags:
- features
parameters:
- name: version
in: path
description: version
required: true
schema:
type: string
default: '1'
- name: resourceId
in: path
description: The ID of the resource to be requested.
required: true
schema:
type: string
default: ''
- name: expand[]
in: query
description: The id fields of the resources that are going to be expanded.
required: false
schema:
type: array
items:
type: string
- name: X-API-KEY
in: header
required: true
schema:
type: string
- name: x-platform-id
in: header
description: Platform ID.
required: false
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Feature'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
delete:
operationId: deleteFeaturesByResourceId
summary: Delete a feature by resource ID
description: Requires the FEATURE.DELETE permission.
tags:
- features
parameters:
- name: version
in: path
description: version
required: true
schema:
type: string
default: '1'
- name: resourceId
in: path
description: The ID of the resource to be requested.
required: true
schema:
type: string
default: ''
- name: X-API-KEY
in: header
required: true
schema:
type: string
- name: x-platform-id
in: header
description: Platform ID.
required: false
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Feature'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
patch:
operationId: patchFeaturesByResourceId
summary: Update a feature
description: Requires the FEATURE.UPDATE permission.
tags:
- features
parameters:
- name: version
in: path
description: version
required: true
schema:
type: string
default: '1'
- name: resourceId
in: path
description: The ID of the resource to be requested.
required: true
schema:
type: string
default: ''
- name: X-API-KEY
in: header
required: true
schema:
type: string
- name: x-platform-id
in: header
description: Platform ID.
required: false
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Feature'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/FeatureUpdateRequest'
components:
schemas:
MeterUpdateRequestStatus:
type: string
enum:
- DRAFT
- ACTIVE
- ARCHIVED
- DEPRECATED
description: The status of the meter indicating the activity of the meter and the ability to update properties.
title: MeterUpdateRequestStatus
MeterPropertyCreateRequestStatus:
type: string
enum:
- DRAFT
- ACTIVE
- ARCHIVED
- DEPRECATED
description: The status of the meter property indicating the activity and the ability to update properties.
title: MeterPropertyCreateRequestStatus
MeterCreateRequest:
type: object
properties:
object_type:
type:
- string
- 'null'
id:
type:
- string
- 'null'
reference:
type: string
name:
type:
- string
- 'null'
description:
type:
- string
- 'null'
status:
oneOf:
- $ref: '#/components/schemas/MeterCreateRequestStatus'
- type: 'null'
description: The status of the meter indicating the activity of the meter and the ability to update properties.
meter_values:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/MeterMeterValueCreateRequest'
description: The values used as input to calculate billable units, used in the meter.
meter_properties:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/MeterMeterPropertyCreateRequest'
description: The properties that provide information to give context to an event, used in the meter.
required:
- reference
title: MeterCreateRequest
MeterPropertyUpdateRequestType:
type: string
enum:
- NUMBER
- ENUM
- STRING
description: The type of the meter property.
title: MeterPropertyUpdateRequestType
MeterValueCalculationUpdateRequestCalculationType:
type: string
enum:
- SUM
- MAX
- MIN
- AVERAGE
- UNIQUE
description: The type of calculation used for this billable metric.
title: MeterValueCalculationUpdateRequestCalculationType
MeterPropertyType:
type: string
enum:
- NUMBER
- ENUM
- STRING
description: The type of the meter property.
title: MeterPropertyType
MeterValueCreateRequest:
type: object
properties:
object_type:
type:
- string
- 'null'
id:
type:
- string
- 'null'
reference:
type: string
name:
type:
- string
- 'null'
description:
type:
- string
- 'null'
status:
oneOf:
- $ref: '#/components/schemas/MeterValueCreateRequestStatus'
- type: 'null'
description: The status of the meter value indicating the activity and the ability to update properties.
type:
oneOf:
- $ref: '#/components/schemas/MeterValueCreateRequestType'
- type: 'null'
description: The type of the meter value.
required:
- reference
- name
- type
title: MeterValueCreateRequest
MeterValueUpdateRequestType:
type: string
enum:
- NUMBER
- AMOUNT
description: The type of the meter value.
title: MeterValueUpdateRequestType
MeterValueCalculationCreateRequestCalculationType:
type: string
enum:
- SUM
- MAX
- MIN
- AVERAGE
- UNIQUE
description: The type of calculation used for this billable metric.
title: MeterValueCalculationCreateRequestCalculationType
MeterValueType:
type: string
enum:
- NUMBER
- AMOUNT
description: The type of the meter value.
title: MeterValueType
MeterValueCreateRequestStatus:
type: string
enum:
- DRAFT
- ACTIVE
- ARCHIVED
- DEPRECATED
description: The status of the meter value indicating the activity and the ability to update properties.
title: MeterValueCreateRequestStatus
MeterPropertyStatus:
type: string
enum:
- DRAFT
- ACTIVE
- ARCHIVED
- DEPRECATED
description: The status of the meter property indicating the activity and the ability to update properties.
title: MeterPropertyStatus
MeterPropertyUpdateRequestStatus:
type: string
enum:
- DRAFT
- ACTIVE
- ARCHIVED
- DEPRECATED
description: The status of the meter property indicating the activity and the ability to update properties.
title: MeterPropertyUpdateRequestStatus
MeterValueUpdateRequest:
type: object
properties:
object_type:
type:
- string
- 'null'
id:
type:
- string
- 'null'
reference:
type: string
name:
type:
- string
- 'null'
description:
type:
- string
- 'null'
status:
oneOf:
- $ref: '#/components/schemas/MeterValueUpdateRequestStatus'
- type: 'null'
description: The status of the meter value indicating the activity and the ability to update properties.
type:
oneOf:
- $ref: '#/components/schemas/MeterValueUpdateRequestType'
- type: 'null'
description: The type of the meter value.
title: MeterValueUpdateRequest
MeterStatus:
type: string
enum:
- DRAFT
- ACTIVE
- ARCHIVED
- DEPRECATED
description: The status of the meter indicating the activity of the meter and the ability to update properties.
title: MeterStatus
MeterValueCalculation:
type: object
properties:
object_type:
type:
- string
- 'null'
id:
type:
- string
- 'null'
reference:
type: string
name:
type:
- string
- 'null'
description:
type:
- string
- 'null'
calculation_type:
oneOf:
- $ref: '#/components/schemas/MeterValueCalculationCalculationType'
- type: 'null'
description: The type of calculation used for this billable metric.
persist:
type:
- boolean
- 'null'
description: Indicate if the data of the billable metric must be persisted to the next billing period of the schedule (default is false).
meter_id:
type:
- string
- 'null'
description: The ID of the meter.
meter:
oneOf:
- $ref: '#/components/schemas/Meter'
- type: 'null'
meter_value_id:
type:
- string
- 'null'
description: The ID of the meter value.
meter_value:
oneOf:
- $ref: '#/components/schemas/MeterValue'
- type: 'null'
meter_property_id:
type:
- string
- 'null'
description: The ID of the meter property.
meter_property:
oneOf:
- $ref: '#/components/schemas/MeterProperty'
- type: 'null'
title: MeterValueCalculation
MeterMeterValueCreateRequest:
type: object
properties:
id:
type:
- string
- 'null'
description: Resource ID of type METER_VALUE
object:
oneOf:
- $ref: '#/components/schemas/MeterValue'
- type: 'null'
reference:
type:
- string
- 'null'
required:
type:
- boolean
- 'null'
title: MeterMeterValueCreateRequest
MeterValueUpdateRequestStatus:
type: string
enum:
- DRAFT
- ACTIVE
- ARCHIVED
- DEPRECATED
description: The status of the meter value indicating the activity and the ability to update properties.
title: MeterValueUpdateRequestStatus
MeterMeterPropertyUpdateRequest:
type: object
properties:
id:
type:
- string
- 'null'
description: Resource ID of type METER_PROPERTY
object:
oneOf:
- $ref: '#/components/schemas/MeterProperty'
- type: 'null'
reference:
type:
- string
- 'null'
required:
type:
- boolean
- 'null'
title: MeterMeterPropertyUpdateRequest
MeterProperty:
type: object
properties:
object_type:
type:
- string
- 'null'
id:
type:
- string
- 'null'
reference:
type: string
name:
type:
- string
- 'null'
description:
type:
- string
- 'null'
status:
$ref: '#/components/schemas/MeterPropertyStatus'
description: The status of the meter property indicating the activity and the ability to update properties.
type:
oneOf:
- $ref: '#/components/schemas/MeterPropertyType'
- type: 'null'
description: The type of the meter property.
enum_values:
type:
- array
- 'null'
items:
type: string
description: The list of available ENUM values.
title: MeterProperty
Meter:
type: object
properties:
object_type:
type:
- string
- 'null'
id:
type:
- string
- 'null'
reference:
type: string
name:
type:
- string
- 'null'
description:
type:
- string
- 'null'
status:
oneOf:
- $ref: '#/components/schemas/MeterStatus'
- type: 'null'
description: The status of the meter indicating the activity of the meter and the ability to update properties.
meter_values:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/MeterMeterValue'
description: The values used as input to calculate billable units, used in the meter.
meter_properties:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/MeterMeterProperty'
description: The properties that provide information to give context to an event, used in the meter.
title: Meter
MeterCreateRequestStatus:
type: string
enum:
- DRAFT
- ACTIVE
- ARCHIVED
- DEPRECATED
description: The status of the meter indicating the activity of the meter and the ability to update properties.
title: MeterCreateRequestStatus
FeatureCreateRequest:
type: object
properties:
object_type:
type:
- string
- 'null'
id:
type:
- string
- 'null'
reference:
type: string
name:
type:
- string
- 'null'
description:
type:
- string
- 'null'
type:
oneOf:
- $ref: '#/components/schemas/FeatureCreateRequestType'
- type: 'null'
description: The indication of the type of feature associated with the pricing plan.
enum_values:
type:
- array
- 'null'
items:
type: string
description: If the feature type is ENUM, these fields provide additional information on the values used.
meter_value_calculation_id:
type:
- string
- 'null'
description: The linked meter value calculation
meter_value_calculation:
oneOf:
- $ref: '#/components/schemas/MeterValueCalculationCreateRequest'
- type: 'null'
required:
- reference
- type
title: FeatureCreateRequest
ApiErrorType:
type: string
enum:
- API_ERROR
- INVALID_REQUEST
title: ApiErrorType
ApiError:
type: object
properties:
type:
$ref: '#/components/schemas/ApiErrorType'
code:
$ref: '#/components/schemas/ApiErrorCode'
field:
type:
- string
- 'null'
message:
type: string
resource_id:
type:
- string
- 'null'
resource_type:
oneOf:
- $ref: '#/components/schemas/ApiErrorResourceType'
- type: 'null'
required:
- type
- code
- message
title: ApiError
MeterPropertyCreateRequest:
type: object
properties:
object_type:
type:
- string
- 'null'
id:
type:
- string
- 'null'
reference:
type: string
name:
type:
- string
- 'null'
description:
type:
- string
- 'null'
status:
$ref: '#/components/schemas/MeterPropertyCreateRequestStatus'
description: The status of the meter property indicating the activity and the ability to update properties.
type:
oneOf:
- $ref: '#/components/schemas/MeterPropertyCreateRequestType'
- type: 'null'
description: The type of the meter property.
enum_values:
type:
- array
- 'null'
items:
type: string
description: The list of available ENUM values.
required:
- reference
- name
- type
title: MeterPropertyCreateRequest
MeterValueStatus:
type: string
enum:
- DRAFT
- ACTIVE
- ARCHIVED
- DEPRECATED
description: The status of the meter value indicating the activity and the ability to update properties.
title: MeterValueStatus
MeterValueCalculationCreateRequest:
type: object
properties:
object_type:
type:
- string
- 'null'
id:
type:
- string
- 'null'
reference:
type: string
name:
type:
- string
- 'null'
description:
type:
- string
- 'null'
calculation_type:
oneOf:
- $ref: '#/components/schemas/MeterValueCalculationCreateRequestCalculationType'
- type: 'null'
description: The type of calculation used for this billable metric.
persist:
type:
- boolean
- 'null'
description: Indicate if the data of the billable metric must be persisted to the next billing period of the schedule (default is false).
meter_id:
type:
- string
- 'null'
description: The ID of the meter.
meter:
oneOf:
- $ref: '#/components/schemas/MeterCreateRequest'
- type: 'null'
meter_value_id:
type:
- string
- 'null'
description: The ID of the meter value.
meter_value:
oneOf:
- $ref: '#/components/schemas/MeterValueCreateRequest'
- type: 'null'
meter_property_id:
type:
- string
- 'null'
description: The ID of the meter property.
meter_property:
oneOf:
- $ref: '#/components/schemas/MeterPropertyCreateRequest'
- type: 'null'
required:
- reference
- calculation_type
- meter_id
title: MeterValueCalculationCreateRequest
FeatureResponseWrapper:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Feature'
required:
- data
title: FeatureResponseWrapper
Feature:
type: object
properties:
object_type:
type:
- string
- 'null'
id:
type:
- string
- 'null'
reference:
type: string
name:
type:
- string
- 'null'
description:
type:
- string
- 'null'
type:
oneOf:
- $ref: '#/components/schemas/FeatureType'
- type: 'null'
description: The indication of the type of feature associated with the pricing plan.
enum_values:
type:
- array
- 'null'
items:
type: string
description: If the feature type is ENUM, these fields provide additional information on the values used.
meter_value_calculation_id:
type:
- string
- 'null'
description: The linked meter value calculation
meter_value_calculation:
oneOf:
- $ref: '#/components/schemas/MeterValueCalculation'
- type: 'null'
title: Feature
MeterUpdateRequest:
type: object
properties:
object_type:
type:
- string
- 'null'
id:
type:
- string
- 'null'
reference:
type: string
name:
type:
- string
- 'null'
description:
type:
- string
- 'null'
status:
oneOf:
- $ref: '#/components/schemas/MeterUpdateRequestStatus'
- type: 'null'
description: The status of the meter indicating the activity of the meter and the ability to update properties.
meter_values:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/MeterMeterValueUpdateRequest'
description: The values used as input to calculate billable units, used in the meter.
meter_properties:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/MeterMeterPropertyUpdateRequest'
description: The properties that provide information to give context to an event, used in the meter.
title: MeterUpdateRequest
MeterMeterProperty:
type: object
properties:
id:
type:
- string
- 'null'
description: Resource ID of type METER_PROPERTY
object:
oneOf:
- $ref: '#/components/schemas/MeterProperty'
- type: 'null'
reference:
type:
- string
- 'null'
required:
type:
- boolean
- 'null'
title: MeterMeterProperty
MeterValueCreateRequestType:
type: string
enum:
- NUMBER
- AMOUNT
description: The type of the meter value.
title: MeterValueCreateRequestType
ApiErrorResourceType:
type: string
enum:
- CUSTOMER
- CUSTOM_FIELD
- PLATFORM
- PLATFORM_UPTODATE
- METER
- METER_VALUE
- METER_PROPERTY
- METER_VALUE_CALCULATION
- INGEST_DATA
- METER_DATA
- CHARGE_DATA
- PERSIST_DATA
- ADJUSTMENT_DATA
- PRODUCT_CATEGORY
- PRODUCT
- PRODUCT_ITEM
- PRICING
- PRICING_GROUP
- PRICING_ITEM
- PRICING_ITEM_CONFIG
- PRICING_PLAN_SUBSCRIPTION
- PRICING_PLAN_SUBSCRIPTION_GROUP
- PRICING_PLAN_SCHEDULE
- PRICING_PLAN
- PRICING_PLAN_VERSION
- QUOTE
- QUOTE_VERSION
- QUOTE_TEMPLATE
- API_KEY
- USER
- ROLE
- PROXY_USER
- EXTERNAL_CREDENTIALS
- TOKEN
- INVOICE
- E_INVOICE
- PDF
- BILLING_ENTITY
- FEATURE
- MEMBERSHIP
- PAYMENT
- PAYMENT_ACCEPTOR
- PAYMENT_METHOD
- PAYMENT_METHOD_OPTIONS
- PAYMENT_SCHEDULE
- PAYMENT_REQUEST
- INTEGRATION
- WEBHOOK
- FILE
- FILE_PROCESSING_SETTINGS
- TEAM
- DOWNLOAD_URL
- CSV_REPORT
- REPORT
- REPORT_GENERATE_REQUEST
- REPORT_CONFIGURATION
- REPORT_SUBSCRIPTION
- REPORT_DEFINITION
- ACCOUNT_GROUP
- ENTITY
- EVENT_TRACE
- EVENT_TRACE_LINK
- PRICING_CATEGORY
- CONTACT
- ALERT_RULE
- ALERT
- AUDIT_RECORD
- PORTAL_URL
- AUTHENTICATION_PROVIDER
- REPROCESS
- APPROVAL_POLICY
- APPROVAL_REQUEST
- BULK_ACTION
- COUPON
- PROMOTION_CODE
- WALLET
- WALLET_TYPE
- WALLET_GRANT
- WORKFLOW
- WORKFLOW_TRIGGER
- WORKFLOW_
# --- truncated at 32 KB (40 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/solvimon/refs/heads/main/openapi/solvimon-features-api-openapi.yml