Skip to main content
Version: Next

Query mappings

POST 

/mapping-rules/search

Search for mapping rules based on given criteria.

Request

Body

required
    sort object[]

    Sort field criteria.

  • Array [
  • field stringrequired

    The field to sort by.

    order SortOrderEnum

    Possible values: [ASC, DESC]

    Default value: ASC

    The order in which to sort the related field.

  • ]
  • page object

    Pagination criteria.

    from int32

    The index of items to start searching from.

    limit int32

    The maximum number of items to return in one request.

    searchAfter object[]

    Items to search after. Correlates to the lastSortValues property of a previous search response.

    searchBefore object[]

    Items to search before. Correlates to the firstSortValues property of a previous search response.

    filter object

    Mapping search filter.

    claimName string

    The claim name to match against a token.

    claimValue string

    The value of the claim to match.

Responses

The mapping rule search result.

Schema
    page object

    Pagination information about the search results.

    totalItems int64

    Total items matching the criteria.

    firstSortValues object[]

    The sort values of the first item in the result set. Use this in the searchBefore field of an ensuing request.

    lastSortValues object[]

    The sort values of the last item in the result set. Use this in the searchAfter field of an ensuing request.

    items object[]

    The matching mapping rules.

  • Array [
  • mappingKey int64

    The key of the created mapping rule.

    claimName string

    The name of the claim to map.

    claimValue string

    The value of the claim to map.

  • ]
Loading...