Skip to main content
Version: testnet (v0.76)

List parties' profiles

GET 

/api/v2/parties/profiles

Get a list of profiles for multiple parties

Request

Query Parameters

    parties string[]

    Restrict the returned profiles to only the given party IDs. If not set, all parties' profiles will be returned.

    pagination.first int32

    Number of records to be returned that sort greater than row identified by cursor supplied in 'after'.

    pagination.after string

    If paging forwards, the cursor string for the last row of the previous page.

    pagination.last int32

    Number of records to be returned that sort less than row identified by cursor supplied in 'before'.

    pagination.before string

    If paging forwards, the cursor string for the first row of the previous page.

    pagination.newestFirst boolean

    Whether to order the results with the newest records first. If not set, the default value is true.

Responses

A successful response.

Schema
    profiles object

    Page of profile data and corresponding page information.

    edges object[]

    Page of profiles and their corresponding cursors.

  • Array [
  • cursor string

    Cursor that can be used to fetch further pages.

    node object

    Data associated with a party's profile.

    alias string

    Alias given to the party.

    metadata object[]

    Metadata to associate to a party, in a key/value format where the key describes the type of metadata in the value field.

  • Array [
  • key string

    Key of the metadata.

    value string

    Value of the metadata.

  • ]
  • partyId string

    Party ID associated to the profile.

  • ]
  • pageInfo object

    Page information that is used for fetching further pages.

    endCursor string

    End cursor.

    hasNextPage boolean

    Indicator if there is a next page.

    hasPreviousPage boolean

    Indicator if there is a previous page.

    startCursor string

    Start cursor.

Loading...