Monta
Monta API

Feature Groups


Retrieve a list of feature groups

GET
https://partner-api.monta.com
/api/v1/feature-groups

This endpoint retrieves a paginated list of feature groups.
Required scope: feature-groups:read
Organization authorization: supported
This endpoint is feature-flagged and will only be available to operators who have the feature enabled.

Retrieve a list of feature groups › query Parameters

page
​integer · int32

page number to retrieve (starts with 0)

Default: 0
perPage
​integer · int32

number of items per page (between 1 and 100, default 10)

Default: 10

Retrieve a list of feature groups › Responses

List of Feature Groups

​FeatureGroupDto[] · required
​MontaPage.Meta · required

Applies a feature group to a relation type

POST
https://partner-api.monta.com
/api/v1/feature-groups/{featureGroupId}/apply

This endpoint applies a feature group to the provided list based on the relationType.
Required scope: feature-groups:write
Organization authorization: supported
This endpoint is feature-flagged and will only be available to operators who have the feature enabled.

Applies a feature group to a relation type › path Parameters

featureGroupId
​integer · int64 · required

Applies a feature group to a relation type › Request Body

relationType
​string · enum · required

Relation type that the feature group should apply to.

Enum values:
team
Example: team
ids
​integer[] · minItems: 1 · maxItems: 100 · required

List of IDs that the feature group should be applied to. If one of the IDs does not belong to your operator, applying feature group will fail. Therefore, make sure all the Ids belong to your operator.

Example: [1,2,3]

Applies a feature group to a relation type › Responses

Successfully created feature group relation

No data returned

Retrieve a list of feature group configurations

GET
https://partner-api.monta.com
/api/v1/feature-groups/{featureGroupId}/configurations

This endpoint retrieves a list of feature group configurations by featureGroupId.
Required scope: feature-groups:read
Organization authorization: supported
This endpoint is feature-flagged and will only be available to operators who have the feature enabled.

Retrieve a list of feature group configurations › path Parameters

featureGroupId
​integer · int64 · required

Retrieve a list of feature group configurations › query Parameters

page
​integer · int32

page number to retrieve (starts with 0)

Default: 0
perPage
​integer · int32

number of items per page (between 1 and 100, default 10)

Default: 10

Retrieve a list of feature group configurations › Responses

List of Feature Group Configurations

​FeatureGroupConfiguration[] · required
​MontaPage.Meta · required

Removes a feature group from a relation type

POST
https://partner-api.monta.com
/api/v1/feature-groups/{featureGroupId}/remove

This endpoint removes a feature group from the provided list based on the relationType.
Required scope: feature-groups:write
Organization authorization: supported
This endpoint is feature-flagged and will only be available to operators who have the feature enabled.

Removes a feature group from a relation type › path Parameters

featureGroupId
​integer · int64 · required

Removes a feature group from a relation type › Request Body

relationType
​string · enum · required

Relation type that the feature group should apply to.

Enum values:
team
Example: team
ids
​integer[] · minItems: 1 · maxItems: 100 · required

List of IDs that the feature group should be applied to. If one of the IDs does not belong to your operator, applying feature group will fail. Therefore, make sure all the Ids belong to your operator.

Example: [1,2,3]

Removes a feature group from a relation type › Responses

Successfully removed feature group relation

No data returned