GraphQL API Reference
GraphQl endpoints for storefront-service!
API Endpoints
Copy # devel:
https://storefront-service.devel.original.works
# staging:
https://storefront-service.stage.original.works
# prod:
https://storefront-service.original.works
Queries
collectionEntities
Response
Returns a
Arguments
Specify to filter the records returned. Default = {}
Limit or page results. Default = {limit: 10}
Specify to sort results. Default = []
Example
Query
Copy query CollectionEntities(
$filter: CollectionEntityFilter!,
$paging: OffsetPaging!,
$sorting: [CollectionEntitySort!]!
) {
collectionEntities(
filter: $filter,
paging: $paging,
sorting: $sorting
) {
nodes {
avatarUrl
bannerUrl
createdAt
description
email
entityUri
id
name
networkConfigs {
...NetworkConfigFragment
}
redirectDomains {
...RedirectDomainFragment
}
tenant {
...TenantFragment
}
tenantId
type
updatedAt
}
pageInfo {
hasNextPage
hasPreviousPage
}
totalCount
}
}
Variables
Copy {"filter": {}, "paging": {"limit": 10}, "sorting": [""]}
Response
Copy {
"data": {
"collectionEntities": {
"nodes": [CollectionEntity],
"pageInfo": OffsetPageInfo,
"totalCount": 123
}
}
}
collectionEntity
Response
Arguments
The id of the record to find.
Example
Query
Copy query CollectionEntity($id: ID!) {
collectionEntity(id: $id) {
avatarUrl
bannerUrl
createdAt
description
email
entityUri
id
name
networkConfigs {
activitiesSubgraphUrl
agreementFactoryAddress
agreementSubgraphUrl
alchemyApiKey
capabilities {
...NetworkCapabilityFragment
}
chainId
createdAt
defaultStripeFeeInPercent
dmmAddress
feeManagerAddress
id
jsonRpcUrl
lendingContractAddress
marketAddress
marketOwner
nativeCoin
nativeCoinDecimals
networkName
nftSubgraphUrl
payeeVaultFactoryAddress
paymentBatcherFactoryAddress
studioPublicJsonRpcUrl
updatedAt
}
redirectDomains {
domain
}
tenant {
createdAt
id
minPaymentBatcherBalanceInUSDC
name
paymentBatcherAddress
tenantUri
updatedAt
}
tenantId
type
updatedAt
}
}
Variables
Response
Copy {
"data": {
"collectionEntity": {
"avatarUrl": "abc123",
"bannerUrl": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"description": "abc123",
"email": "abc123",
"entityUri": "xyz789",
"id": "4",
"name": "xyz789",
"networkConfigs": [NetworkConfig],
"redirectDomains": [RedirectDomain],
"tenant": Tenant,
"tenantId": "4",
"type": "ARTIST",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
collectionEntityRelation
Response
Arguments
The id of the record to find.
Example
Query
Copy query CollectionEntityRelation($id: ID!) {
collectionEntityRelation(id: $id) {
childEntityId
createdAt
id
network {
activitiesSubgraphUrl
agreementFactoryAddress
agreementSubgraphUrl
alchemyApiKey
capabilities {
...NetworkCapabilityFragment
}
chainId
createdAt
defaultStripeFeeInPercent
dmmAddress
feeManagerAddress
id
jsonRpcUrl
lendingContractAddress
marketAddress
marketOwner
nativeCoin
nativeCoinDecimals
networkName
nftSubgraphUrl
payeeVaultFactoryAddress
paymentBatcherFactoryAddress
studioPublicJsonRpcUrl
updatedAt
}
parentEntityId
relationType
tenant {
createdAt
id
minPaymentBatcherBalanceInUSDC
name
paymentBatcherAddress
tenantUri
updatedAt
}
tenantId
updatedAt
}
}
Variables
Response
Copy {
"data": {
"collectionEntityRelation": {
"childEntityId": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"id": "4",
"network": NetworkConfig,
"parentEntityId": "xyz789",
"relationType": "ENTERPIRSE_ARTIST",
"tenant": Tenant,
"tenantId": "abc123",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
collectionEntityRelations
Response
Arguments
Specify to filter the records returned. Default = {}
Limit or page results. Default = {limit: 10}
Specify to sort results. Default = []
Example
Query
Copy query CollectionEntityRelations(
$filter: CollectionEntityRelationFilter!,
$paging: OffsetPaging!,
$sorting: [CollectionEntityRelationSort!]!
) {
collectionEntityRelations(
filter: $filter,
paging: $paging,
sorting: $sorting
) {
nodes {
childEntityId
createdAt
id
network {
...NetworkConfigFragment
}
parentEntityId
relationType
tenant {
...TenantFragment
}
tenantId
updatedAt
}
pageInfo {
hasNextPage
hasPreviousPage
}
totalCount
}
}
Variables
Copy {"filter": {}, "paging": {"limit": 10}, "sorting": [""]}
Response
Copy {
"data": {
"collectionEntityRelations": {
"nodes": [CollectionEntityRelation],
"pageInfo": OffsetPageInfo,
"totalCount": 987
}
}
}
Description
Returns a contact by nickname.
Response
Arguments
Example
Query
Copy query ContactByNickName($nickName: String!) {
contactByNickName(nickName: $nickName) {
createdAt
id
nickName
ownerUri
updatedAt
walletAddress
}
}
Variables
Copy {"nickName": "xyz789"}
Response
Copy {
"data": {
"contactByNickName": {
"createdAt": "2007-12-03T10:15:30Z",
"id": 987.65,
"nickName": "xyz789",
"ownerUri": "abc123",
"updatedAt": "2007-12-03T10:15:30Z",
"walletAddress": "abc123"
}
}
}
Description
Returns a contact by wallet address.
Response
Arguments
wallet address of a contact
Example
Query
Copy query ContactByWalletAddress($walletAddress: String!) {
contactByWalletAddress(walletAddress: $walletAddress) {
createdAt
id
nickName
ownerUri
updatedAt
walletAddress
}
}
Variables
Copy {"walletAddress": "abc123"}
Response
Copy {
"data": {
"contactByWalletAddress": {
"createdAt": "2007-12-03T10:15:30Z",
"id": 987.65,
"nickName": "xyz789",
"ownerUri": "xyz789",
"updatedAt": "2007-12-03T10:15:30Z",
"walletAddress": "abc123"
}
}
}
Description
Returns contacts of a contactBook entity.
Response
Example
Query
Copy query Contacts {
contacts {
count
items {
createdAt
id
nickName
ownerUri
updatedAt
walletAddress
}
}
}
Response
Copy {
"data": {
"contacts": {"count": 987.65, "items": [ContactDto]}
}
}
getEntityByTokenPayload
Response
Example
Query
Copy query GetEntityByTokenPayload {
getEntityByTokenPayload {
avatarUrl
bannerUrl
createdAt
description
email
entityUri
id
name
networkConfigs {
activitiesSubgraphUrl
agreementFactoryAddress
agreementSubgraphUrl
alchemyApiKey
capabilities {
...NetworkCapabilityFragment
}
chainId
createdAt
defaultStripeFeeInPercent
dmmAddress
feeManagerAddress
id
jsonRpcUrl
lendingContractAddress
marketAddress
marketOwner
nativeCoin
nativeCoinDecimals
networkName
nftSubgraphUrl
payeeVaultFactoryAddress
paymentBatcherFactoryAddress
studioPublicJsonRpcUrl
updatedAt
}
redirectDomains {
domain
}
tenant {
createdAt
id
minPaymentBatcherBalanceInUSDC
name
paymentBatcherAddress
tenantUri
updatedAt
}
tenantId
type
updatedAt
}
}
Response
Copy {
"data": {
"getEntityByTokenPayload": {
"avatarUrl": "xyz789",
"bannerUrl": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"description": "abc123",
"email": "xyz789",
"entityUri": "abc123",
"id": "4",
"name": "xyz789",
"networkConfigs": [NetworkConfig],
"redirectDomains": [RedirectDomain],
"tenant": Tenant,
"tenantId": "4",
"type": "ARTIST",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
networkConfigByNameV2
Description
Returns networkConfig for given network name
Response
Arguments
Example
Query
Copy query NetworkConfigByNameV2($networkName: NetworkName!) {
networkConfigByNameV2(networkName: $networkName) {
agreementFactoryAddress
agreementSubgraphUrl
capabilities {
networkCapability
}
chainId
createdAt
currencies {
lendingToken {
...CurrencyModelFragment
}
nativeCoin {
...CurrencyModelFragment
}
otherCurrencies {
...CurrencyModelFragment
}
}
explorer
feeManagerAddress
id
ipfsEndpoint
isTestNet
jsonRpcUrl
lendingContractAddress
marketAddress
marketOwner
networkName
nftSubgraphUrl
updatedAt
}
}
Variables
Copy {"networkName": "amoy"}
Response
Copy {
"data": {
"networkConfigByNameV2": {
"agreementFactoryAddress": "xyz789",
"agreementSubgraphUrl": "abc123",
"capabilities": [NetworkCapabilitiesModel],
"chainId": 987.65,
"createdAt": "2007-12-03T10:15:30Z",
"currencies": CurrenciesModel,
"explorer": "abc123",
"feeManagerAddress": "abc123",
"id": "abc123",
"ipfsEndpoint": "abc123",
"isTestNet": true,
"jsonRpcUrl": "xyz789",
"lendingContractAddress": "xyz789",
"marketAddress": "abc123",
"marketOwner": "abc123",
"networkName": "amoy",
"nftSubgraphUrl": "abc123",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
networkConfigs
Response
Arguments
Specify to filter the records returned. Default = {}
Limit or page results. Default = {limit: 10}
Specify to sort results. Default = []
Example
Query
Copy query NetworkConfigs(
$filter: NetworkConfigFilter!,
$paging: OffsetPaging!,
$sorting: [NetworkConfigSort!]!
) {
networkConfigs(
filter: $filter,
paging: $paging,
sorting: $sorting
) {
nodes {
activitiesSubgraphUrl
agreementFactoryAddress
agreementSubgraphUrl
alchemyApiKey
capabilities {
...NetworkCapabilityFragment
}
chainId
createdAt
defaultStripeFeeInPercent
dmmAddress
feeManagerAddress
id
jsonRpcUrl
lendingContractAddress
marketAddress
marketOwner
nativeCoin
nativeCoinDecimals
networkName
nftSubgraphUrl
payeeVaultFactoryAddress
paymentBatcherFactoryAddress
studioPublicJsonRpcUrl
updatedAt
}
pageInfo {
hasNextPage
hasPreviousPage
}
totalCount
}
}
Variables
Copy {"filter": {}, "paging": {"limit": 10}, "sorting": [""]}
Response
Copy {
"data": {
"networkConfigs": {
"nodes": [NetworkConfig],
"pageInfo": OffsetPageInfo,
"totalCount": 987
}
}
}
networkConfigsV2
Description
Returns list of networkConfigs
Response
Example
Query
Copy query NetworkConfigsV2 {
networkConfigsV2 {
agreementFactoryAddress
agreementSubgraphUrl
capabilities {
networkCapability
}
chainId
createdAt
currencies {
lendingToken {
...CurrencyModelFragment
}
nativeCoin {
...CurrencyModelFragment
}
otherCurrencies {
...CurrencyModelFragment
}
}
explorer
feeManagerAddress
id
ipfsEndpoint
isTestNet
jsonRpcUrl
lendingContractAddress
marketAddress
marketOwner
networkName
nftSubgraphUrl
updatedAt
}
}
Response
Copy {
"data": {
"networkConfigsV2": [
{
"agreementFactoryAddress": "xyz789",
"agreementSubgraphUrl": "abc123",
"capabilities": [NetworkCapabilitiesModel],
"chainId": 123.45,
"createdAt": "2007-12-03T10:15:30Z",
"currencies": CurrenciesModel,
"explorer": "xyz789",
"feeManagerAddress": "xyz789",
"id": "xyz789",
"ipfsEndpoint": "abc123",
"isTestNet": true,
"jsonRpcUrl": "xyz789",
"lendingContractAddress": "xyz789",
"marketAddress": "xyz789",
"marketOwner": "xyz789",
"networkName": "amoy",
"nftSubgraphUrl": "abc123",
"updatedAt": "2007-12-03T10:15:30Z"
}
]
}
}
publicNetworkConfigsV2
Description
Returns list of networkConfigs without sensitive data
Response
Example
Query
Copy query PublicNetworkConfigsV2 {
publicNetworkConfigsV2 {
capabilities {
networkCapability
}
chainId
isTestNet
networkName
studioPublicJsonRpcUrl
}
}
Response
Copy {
"data": {
"publicNetworkConfigsV2": [
{
"capabilities": [NetworkCapabilitiesModel],
"chainId": 123.45,
"isTestNet": true,
"networkName": "amoy",
"studioPublicJsonRpcUrl": "abc123"
}
]
}
}
testConfig
Response
Example
Query
Copy query TestConfig {
testConfig
}
Response
Copy {"data": {"testConfig": "abc123"}}
Mutations
Description
Create contact record. Returns record of the contactBook entity.
Response
Arguments
wallet address of a contact
Example
Query
Copy mutation CreateContact(
$nickName: String!,
$walletAddress: String!
) {
createContact(
nickName: $nickName,
walletAddress: $walletAddress
) {
createdAt
id
nickName
ownerUri
updatedAt
walletAddress
}
}
Variables
Copy {
"nickName": "xyz789",
"walletAddress": "abc123"
}
Response
Copy {
"data": {
"createContact": {
"createdAt": "2007-12-03T10:15:30Z",
"id": 987.65,
"nickName": "xyz789",
"ownerUri": "abc123",
"updatedAt": "2007-12-03T10:15:30Z",
"walletAddress": "xyz789"
}
}
}
createOneCollectionEntity
Response
Arguments
Example
Query
Copy mutation CreateOneCollectionEntity($input: CreateOneCollectionEntityInput!) {
createOneCollectionEntity(input: $input) {
avatarUrl
bannerUrl
createdAt
description
email
entityUri
id
name
networkConfigs {
activitiesSubgraphUrl
agreementFactoryAddress
agreementSubgraphUrl
alchemyApiKey
capabilities {
...NetworkCapabilityFragment
}
chainId
createdAt
defaultStripeFeeInPercent
dmmAddress
feeManagerAddress
id
jsonRpcUrl
lendingContractAddress
marketAddress
marketOwner
nativeCoin
nativeCoinDecimals
networkName
nftSubgraphUrl
payeeVaultFactoryAddress
paymentBatcherFactoryAddress
studioPublicJsonRpcUrl
updatedAt
}
redirectDomains {
domain
}
tenant {
createdAt
id
minPaymentBatcherBalanceInUSDC
name
paymentBatcherAddress
tenantUri
updatedAt
}
tenantId
type
updatedAt
}
}
Variables
Copy {"input": CreateOneCollectionEntityInput}
Response
Copy {
"data": {
"createOneCollectionEntity": {
"avatarUrl": "abc123",
"bannerUrl": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"description": "abc123",
"email": "abc123",
"entityUri": "abc123",
"id": "4",
"name": "abc123",
"networkConfigs": [NetworkConfig],
"redirectDomains": [RedirectDomain],
"tenant": Tenant,
"tenantId": "4",
"type": "ARTIST",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
createRelation
Response
Arguments
Example
Query
Copy mutation CreateRelation($createRelation: CreateCollectionEntityRelation!) {
createRelation(createRelation: $createRelation) {
childEntityId
createdAt
id
network {
activitiesSubgraphUrl
agreementFactoryAddress
agreementSubgraphUrl
alchemyApiKey
capabilities {
...NetworkCapabilityFragment
}
chainId
createdAt
defaultStripeFeeInPercent
dmmAddress
feeManagerAddress
id
jsonRpcUrl
lendingContractAddress
marketAddress
marketOwner
nativeCoin
nativeCoinDecimals
networkName
nftSubgraphUrl
payeeVaultFactoryAddress
paymentBatcherFactoryAddress
studioPublicJsonRpcUrl
updatedAt
}
parentEntityId
relationType
tenant {
createdAt
id
minPaymentBatcherBalanceInUSDC
name
paymentBatcherAddress
tenantUri
updatedAt
}
tenantId
updatedAt
}
}
Variables
Copy {"createRelation": CreateCollectionEntityRelation}
Response
Copy {
"data": {
"createRelation": {
"childEntityId": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"id": "4",
"network": NetworkConfig,
"parentEntityId": "xyz789",
"relationType": "ENTERPIRSE_ARTIST",
"tenant": Tenant,
"tenantId": "xyz789",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
createS3Url
Description
🔒 JWT Token
Creates an s3 url for enterprise's avatar or banner
Response
Arguments
🔒 JWT Token
defines fileName and contentType
Example
Query
Copy mutation CreateS3Url($s3ReqDto: S3LinkReq!) {
createS3Url(s3ReqDto: $s3ReqDto) {
uploadUrl
}
}
Variables
Copy {"s3ReqDto": S3LinkReq}
Response
Copy {
"data": {
"createS3Url": {"uploadUrl": "xyz789"}
}
}
Description
Delete contact record. Returns record of the contactBook entity.
Response
Arguments
Example
Query
Copy mutation DeleteContact($id: Float!) {
deleteContact(id: $id) {
createdAt
id
nickName
ownerUri
updatedAt
walletAddress
}
}
Variables
Response
Copy {
"data": {
"deleteContact": {
"createdAt": "2007-12-03T10:15:30Z",
"id": 987.65,
"nickName": "xyz789",
"ownerUri": "abc123",
"updatedAt": "2007-12-03T10:15:30Z",
"walletAddress": "abc123"
}
}
}
deleteManyCollectionEntities
Response
Arguments
Example
Query
Copy mutation DeleteManyCollectionEntities($input: DeleteManyCollectionEntitiesInput!) {
deleteManyCollectionEntities(input: $input) {
deletedCount
}
}
Variables
Copy {"input": DeleteManyCollectionEntitiesInput}
Response
Copy {"data": {"deleteManyCollectionEntities": {"deletedCount": 123}}}
deleteManyRelations
Response
Arguments
Example
Query
Copy mutation DeleteManyRelations($input: DeleteManyCollectionEntityRelationsInput!) {
deleteManyRelations(input: $input) {
deletedCount
}
}
Variables
Copy {"input": DeleteManyCollectionEntityRelationsInput}
Response
Copy {"data": {"deleteManyRelations": {"deletedCount": 987}}}
deleteOneCollectionEntity
Response
Arguments
Example
Query
Copy mutation DeleteOneCollectionEntity($input: DeleteOneCollectionEntityInput!) {
deleteOneCollectionEntity(input: $input) {
avatarUrl
bannerUrl
createdAt
description
email
entityUri
id
name
tenantId
type
updatedAt
}
}
Variables
Copy {"input": DeleteOneCollectionEntityInput}
Response
Copy {
"data": {
"deleteOneCollectionEntity": {
"avatarUrl": "xyz789",
"bannerUrl": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"description": "abc123",
"email": "abc123",
"entityUri": "xyz789",
"id": "4",
"name": "abc123",
"tenantId": 4,
"type": "ARTIST",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
deleteOneRelation
Response
Arguments
Example
Query
Copy mutation DeleteOneRelation($input: DeleteOneCollectionEntityRelationInput!) {
deleteOneRelation(input: $input) {
childEntityId
createdAt
id
parentEntityId
relationType
tenantId
updatedAt
}
}
Variables
Copy {"input": DeleteOneCollectionEntityRelationInput}
Response
Copy {
"data": {
"deleteOneRelation": {
"childEntityId": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"id": "4",
"parentEntityId": "abc123",
"relationType": "ENTERPIRSE_ARTIST",
"tenantId": "xyz789",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
Description
Update contact record. Returns record of the contactBook entity.
Response
Arguments
wallet address of a contact
Example
Query
Copy mutation UpdateContact(
$id: Float!,
$nickName: String,
$walletAddress: String
) {
updateContact(
id: $id,
nickName: $nickName,
walletAddress: $walletAddress
) {
createdAt
id
nickName
ownerUri
updatedAt
walletAddress
}
}
Variables
Copy {
"id": 987.65,
"nickName": "abc123",
"walletAddress": "abc123"
}
Response
Copy {
"data": {
"updateContact": {
"createdAt": "2007-12-03T10:15:30Z",
"id": 123.45,
"nickName": "abc123",
"ownerUri": "abc123",
"updatedAt": "2007-12-03T10:15:30Z",
"walletAddress": "xyz789"
}
}
}
updateManyCollectionEntities
Response
Arguments
Example
Query
Copy mutation UpdateManyCollectionEntities($input: UpdateManyCollectionEntitiesInput!) {
updateManyCollectionEntities(input: $input) {
updatedCount
}
}
Variables
Copy {"input": UpdateManyCollectionEntitiesInput}
Response
Copy {"data": {"updateManyCollectionEntities": {"updatedCount": 987}}}
updateOneCollectionEntity
Response
Arguments
Example
Query
Copy mutation UpdateOneCollectionEntity($input: UpdateOneCollectionEntityInput!) {
updateOneCollectionEntity(input: $input) {
avatarUrl
bannerUrl
createdAt
description
email
entityUri
id
name
networkConfigs {
activitiesSubgraphUrl
agreementFactoryAddress
agreementSubgraphUrl
alchemyApiKey
capabilities {
...NetworkCapabilityFragment
}
chainId
createdAt
defaultStripeFeeInPercent
dmmAddress
feeManagerAddress
id
jsonRpcUrl
lendingContractAddress
marketAddress
marketOwner
nativeCoin
nativeCoinDecimals
networkName
nftSubgraphUrl
payeeVaultFactoryAddress
paymentBatcherFactoryAddress
studioPublicJsonRpcUrl
updatedAt
}
redirectDomains {
domain
}
tenant {
createdAt
id
minPaymentBatcherBalanceInUSDC
name
paymentBatcherAddress
tenantUri
updatedAt
}
tenantId
type
updatedAt
}
}
Variables
Copy {"input": UpdateOneCollectionEntityInput}
Response
Copy {
"data": {
"updateOneCollectionEntity": {
"avatarUrl": "xyz789",
"bannerUrl": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"description": "xyz789",
"email": "abc123",
"entityUri": "xyz789",
"id": 4,
"name": "xyz789",
"networkConfigs": [NetworkConfig],
"redirectDomains": [RedirectDomain],
"tenant": Tenant,
"tenantId": "4",
"type": "ARTIST",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
Types
Boolean
Description
The Boolean
scalar type represents true
or false
.
Example
CollectionEntity
Description
represents an element of the hierarchy within the enterprise.
Fields
avatar url, displayed on the storefront.
banner url, displayed on the storefront.
Time at which the object was created.
Identifier of the entity. This value corresponds to the ID from the revelator database.
Auto-incrementing identifier.
Arguments
Specify to filter the records returned.
Specify to sort results.
Arguments
Specify to filter the records returned.
Specify to sort results.
Tenant ID to which artists, enterprise and labels belong.
Specifies the type of entry. Represents the hierarchy level within the enterprise.
Time at which the object was last updated.
Example
Copy {
"avatarUrl": "abc123",
"bannerUrl": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"description": "xyz789",
"email": "abc123",
"entityUri": "xyz789",
"id": "4",
"name": "abc123",
"networkConfigs": [NetworkConfig],
"redirectDomains": [RedirectDomain],
"tenant": Tenant,
"tenantId": 4,
"type": "ARTIST",
"updatedAt": "2007-12-03T10:15:30Z"
}
CollectionEntityConnection
Fields
Fetch total count of records
Example
Copy {
"nodes": [CollectionEntity],
"pageInfo": OffsetPageInfo,
"totalCount": 987
}
CollectionEntityDeleteFilter
Fields
Example
Copy {
"and": [CollectionEntityDeleteFilter],
"avatarUrl": StringFieldComparison,
"bannerUrl": StringFieldComparison,
"createdAt": DateFieldComparison,
"description": StringFieldComparison,
"email": StringFieldComparison,
"entityUri": StringFieldComparison,
"id": IDFilterComparison,
"name": StringFieldComparison,
"or": [CollectionEntityDeleteFilter],
"tenantId": IDFilterComparison,
"type": CollectionEntityTypeFilterComparison,
"updatedAt": DateFieldComparison
}
CollectionEntityDeleteResponse
Fields
avatar url, displayed on the storefront.
banner url, displayed on the storefront.
Time at which the object was created.
Identifier of the entity. This value corresponds to the ID from the revelator database.
Auto-incrementing identifier.
Tenant ID to which artists, enterprise and labels belong.
Specifies the type of entry. Represents the hierarchy level within the enterprise.
Time at which the object was last updated.
Example
Copy {
"avatarUrl": "xyz789",
"bannerUrl": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"description": "xyz789",
"email": "abc123",
"entityUri": "abc123",
"id": 4,
"name": "abc123",
"tenantId": "4",
"type": "ARTIST",
"updatedAt": "2007-12-03T10:15:30Z"
}
CollectionEntityFilter
Fields
Example
Copy {
"and": [CollectionEntityFilter],
"avatarUrl": StringFieldComparison,
"bannerUrl": StringFieldComparison,
"createdAt": DateFieldComparison,
"description": StringFieldComparison,
"email": StringFieldComparison,
"entityUri": StringFieldComparison,
"id": IDFilterComparison,
"name": StringFieldComparison,
"or": [CollectionEntityFilter],
"redirectDomains": CollectionEntityFilterRedirectDomainFilter,
"tenant": CollectionEntityFilterTenantFilter,
"tenantId": IDFilterComparison,
"type": CollectionEntityTypeFilterComparison,
"updatedAt": DateFieldComparison
}
CollectionEntityFilterRedirectDomainFilter
Fields
Example
Copy {
"and": [CollectionEntityFilterRedirectDomainFilter],
"domain": StringFieldComparison,
"or": [CollectionEntityFilterRedirectDomainFilter]
}
CollectionEntityFilterTenantFilter
Fields
Example
Copy {
"and": [CollectionEntityFilterTenantFilter],
"createdAt": DateFieldComparison,
"id": IDFilterComparison,
"minPaymentBatcherBalanceInUSDC": NumberFieldComparison,
"name": StringFieldComparison,
"or": [CollectionEntityFilterTenantFilter],
"paymentBatcherAddress": StringFieldComparison,
"tenantUri": StringFieldComparison,
"updatedAt": DateFieldComparison
}
CollectionEntityRelation
Description
represents a relationship between two entities.
Fields
Time at which the object was created.
Auto-incrementing identifier.
Specifies the type of the relation. For example: LABEL -> ARTIST.
Tenant ID to which artists, enterprise and labels belong.
Time at which the object was last updated.
Example
Copy {
"childEntityId": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"id": 4,
"network": NetworkConfig,
"parentEntityId": "xyz789",
"relationType": "ENTERPIRSE_ARTIST",
"tenant": Tenant,
"tenantId": "xyz789",
"updatedAt": "2007-12-03T10:15:30Z"
}
CollectionEntityRelationConnection
Fields
Fetch total count of records
Example
Copy {
"nodes": [CollectionEntityRelation],
"pageInfo": OffsetPageInfo,
"totalCount": 123
}
CollectionEntityRelationDeleteFilter
Fields
Example
Copy {
"and": [CollectionEntityRelationDeleteFilter],
"childEntityId": StringFieldComparison,
"createdAt": DateFieldComparison,
"id": IDFilterComparison,
"or": [CollectionEntityRelationDeleteFilter],
"parentEntityId": StringFieldComparison,
"relationType": CollectionEntityRelationTypeFilterComparison,
"tenantId": StringFieldComparison,
"updatedAt": DateFieldComparison
}
CollectionEntityRelationDeleteResponse
Fields
Time at which the object was created.
Auto-incrementing identifier.
Specifies the type of the relation. For example: LABEL -> ARTIST.
Tenant ID to which artists, enterprise and labels belong.
Time at which the object was last updated.
Example
Copy {
"childEntityId": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"id": "4",
"parentEntityId": "xyz789",
"relationType": "ENTERPIRSE_ARTIST",
"tenantId": "xyz789",
"updatedAt": "2007-12-03T10:15:30Z"
}
CollectionEntityRelationFilter
Fields
Example
Copy {
"and": [CollectionEntityRelationFilter],
"childEntityId": StringFieldComparison,
"createdAt": DateFieldComparison,
"id": IDFilterComparison,
"network": CollectionEntityRelationFilterNetworkConfigFilter,
"or": [CollectionEntityRelationFilter],
"parentEntityId": StringFieldComparison,
"relationType": CollectionEntityRelationTypeFilterComparison,
"tenant": CollectionEntityRelationFilterTenantFilter,
"tenantId": StringFieldComparison,
"updatedAt": DateFieldComparison
}
CollectionEntityRelationFilterNetworkConfigFilter
Fields
Example
Copy {
"activitiesSubgraphUrl": StringFieldComparison,
"agreementFactoryAddress": StringFieldComparison,
"agreementSubgraphUrl": StringFieldComparison,
"alchemyApiKey": StringFieldComparison,
"and": [
CollectionEntityRelationFilterNetworkConfigFilter
],
"chainId": IntFieldComparison,
"createdAt": DateFieldComparison,
"defaultStripeFeeInPercent": IntFieldComparison,
"dmmAddress": StringFieldComparison,
"feeManagerAddress": StringFieldComparison,
"id": IDFilterComparison,
"jsonRpcUrl": StringFieldComparison,
"lendingContractAddress": StringFieldComparison,
"marketAddress": StringFieldComparison,
"marketOwner": StringFieldComparison,
"nativeCoin": StringFieldComparison,
"nativeCoinDecimals": IntFieldComparison,
"networkName": NetworkNameFilterComparison,
"nftSubgraphUrl": StringFieldComparison,
"or": [
CollectionEntityRelationFilterNetworkConfigFilter
],
"payeeVaultFactoryAddress": StringFieldComparison,
"paymentBatcherFactoryAddress": StringFieldComparison,
"studioPublicJsonRpcUrl": StringFieldComparison,
"updatedAt": DateFieldComparison
}
CollectionEntityRelationFilterTenantFilter
Fields
Example
Copy {
"and": [CollectionEntityRelationFilterTenantFilter],
"createdAt": DateFieldComparison,
"id": IDFilterComparison,
"minPaymentBatcherBalanceInUSDC": NumberFieldComparison,
"name": StringFieldComparison,
"or": [CollectionEntityRelationFilterTenantFilter],
"paymentBatcherAddress": StringFieldComparison,
"tenantUri": StringFieldComparison,
"updatedAt": DateFieldComparison
}
CollectionEntityRelationSort
Fields
Example
Copy {"direction": "ASC", "field": "childEntityId", "nulls": "NULLS_FIRST"}
CollectionEntityRelationSortFields
Values
Example
CollectionEntityRelationType
Values
Example
CollectionEntityRelationTypeFilterComparison
Fields
Example
Copy {
"eq": "ENTERPIRSE_ARTIST",
"gt": "ENTERPIRSE_ARTIST",
"gte": "ENTERPIRSE_ARTIST",
"iLike": "ENTERPIRSE_ARTIST",
"in": ["ENTERPIRSE_ARTIST"],
"is": false,
"isNot": true,
"like": "ENTERPIRSE_ARTIST",
"lt": "ENTERPIRSE_ARTIST",
"lte": "ENTERPIRSE_ARTIST",
"neq": "ENTERPIRSE_ARTIST",
"notILike": "ENTERPIRSE_ARTIST",
"notIn": ["ENTERPIRSE_ARTIST"],
"notLike": "ENTERPIRSE_ARTIST"
}
CollectionEntitySort
Fields
Example
Copy {"direction": "ASC", "field": "avatarUrl", "nulls": "NULLS_FIRST"}
CollectionEntitySortFields
Values
Example
CollectionEntityType
Values
Example
CollectionEntityTypeFilterComparison
Fields
Example
Copy {
"eq": "ARTIST",
"gt": "ARTIST",
"gte": "ARTIST",
"iLike": "ARTIST",
"in": ["ARTIST"],
"is": false,
"isNot": true,
"like": "ARTIST",
"lt": "ARTIST",
"lte": "ARTIST",
"neq": "ARTIST",
"notILike": "ARTIST",
"notIn": ["ARTIST"],
"notLike": "ARTIST"
}
CollectionEntityUpdateFilter
Fields
Example
Copy {
"and": [CollectionEntityUpdateFilter],
"avatarUrl": StringFieldComparison,
"bannerUrl": StringFieldComparison,
"createdAt": DateFieldComparison,
"description": StringFieldComparison,
"email": StringFieldComparison,
"entityUri": StringFieldComparison,
"id": IDFilterComparison,
"name": StringFieldComparison,
"or": [CollectionEntityUpdateFilter],
"tenantId": IDFilterComparison,
"type": CollectionEntityTypeFilterComparison,
"updatedAt": DateFieldComparison
}
Description
contact object
Fields
Time at which the object was created.
Unique identifier for the contact.
Revelator unique identifier for an enterprise.
Time at which the object was last updated.
Wallet address of a contact.
Example
Copy {
"createdAt": "2007-12-03T10:15:30Z",
"id": 123.45,
"nickName": "abc123",
"ownerUri": "abc123",
"updatedAt": "2007-12-03T10:15:30Z",
"walletAddress": "abc123"
}
Fields
Example
Copy {"count": 987.65, "items": [ContactDto]}
CreateCollectionEntity
Fields
avatar url, displayed on the storefront.
banner url, displayed on the storefront.
Identifier of the entity. This value corresponds to the ID from the revelator database.
Specifies the type of entry. Represents the hierarchy level within the enterprise.
Example
Copy {
"avatarUrl": "abc123",
"bannerUrl": "abc123",
"description": "xyz789",
"email": "abc123",
"entityUri": "abc123",
"name": "abc123",
"networkNames": ["amoy"],
"type": "ARTIST"
}
CreateCollectionEntityRelation
Fields
Specifies the type of the relation. For example: LABEL -> ARTIST.
Example
Copy {
"childEntityId": "abc123",
"parentEntityId": "xyz789",
"relationType": "ENTERPIRSE_ARTIST"
}
Fields
Example
Copy {"collectionEntity": CreateCollectionEntity}
CurrenciesModel
Fields
Example
Copy {
"lendingToken": CurrencyModel,
"nativeCoin": CurrencyModel,
"otherCurrencies": [CurrencyModel]
}
CurrencyModel
Fields
Example
Copy {
"address": "xyz789",
"decimals": 123.45,
"symbol": "abc123"
}
DateFieldComparison
Fields
Example
Copy {
"between": DateFieldComparisonBetween,
"eq": "2007-12-03T10:15:30Z",
"gt": "2007-12-03T10:15:30Z",
"gte": "2007-12-03T10:15:30Z",
"in": ["2007-12-03T10:15:30Z"],
"is": false,
"isNot": true,
"lt": "2007-12-03T10:15:30Z",
"lte": "2007-12-03T10:15:30Z",
"neq": "2007-12-03T10:15:30Z",
"notBetween": DateFieldComparisonBetween,
"notIn": ["2007-12-03T10:15:30Z"]
}
DateFieldComparisonBetween
Fields
Example
Copy {
"lower": "2007-12-03T10:15:30Z",
"upper": "2007-12-03T10:15:30Z"
}
DateTime
Description
A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
Example
Copy "2007-12-03T10:15:30Z"
Fields
Filter to find records to delete
Example
Copy {"filter": CollectionEntityDeleteFilter}
Fields
Filter to find records to delete
Example
Copy {"filter": CollectionEntityRelationDeleteFilter}
DeleteManyResponse
Fields
The number of records deleted.
Example
Copy {"deletedCount": 987}
Fields
The id of the record to delete.
Example
Fields
The id of the record to delete.
Example
FileType
Values
Example
Float
Description
Example
ID
Description
The ID
scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4"
) or integer (such as 4
) input value will be accepted as an ID.
Example
IDFilterComparison
Fields
Example
Copy {
"eq": 4,
"gt": 4,
"gte": 4,
"iLike": "4",
"in": [4],
"is": true,
"isNot": false,
"like": "4",
"lt": 4,
"lte": 4,
"neq": 4,
"notILike": 4,
"notIn": [4],
"notLike": "4"
}
Int
Description
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
IntFieldComparison
Fields
Example
Copy {
"between": IntFieldComparisonBetween,
"eq": 123,
"gt": 123,
"gte": 987,
"in": [123],
"is": false,
"isNot": false,
"lt": 123,
"lte": 987,
"neq": 123,
"notBetween": IntFieldComparisonBetween,
"notIn": [987]
}
IntFieldComparisonBetween
Fields
Example
Copy {"lower": 123, "upper": 987}
NetworkCapabilities
Values
Example
NetworkCapabilitiesFilterComparison
Fields
Example
Copy {
"eq": "Agreements",
"gt": "Agreements",
"gte": "Agreements",
"iLike": "Agreements",
"in": ["Agreements"],
"is": true,
"isNot": true,
"like": "Agreements",
"lt": "Agreements",
"lte": "Agreements",
"neq": "Agreements",
"notILike": "Agreements",
"notIn": ["Agreements"],
"notLike": "Agreements"
}
NetworkCapabilitiesModel
Fields
List of capabilities | describe what can be done on a given chain.
Example
Copy {"networkCapability": "Agreements"}
NetworkCapability
Description
Network capability
Fields
List of capabilities | describe what can be done on a given chain.
Example
Copy {"networkCapability": "Agreements"}
NetworkCapabilityFilter
Fields
Example
Copy {
"and": [NetworkCapabilityFilter],
"networkCapability": NetworkCapabilitiesFilterComparison,
"or": [NetworkCapabilityFilter]
}
NetworkCapabilitySort
Fields
Example
Copy {"direction": "ASC", "field": "networkCapability", "nulls": "NULLS_FIRST"}
NetworkCapabilitySortFields
Values
Example
NetworkConfig
Description
Network configuration object
Fields
activities subgraph url address
agreement factory eth address
agreements subgraph url address
Arguments
Specify to filter the records returned.
Specify to sort results.
Time at which the object was created.
Dynamic Modular Metadata contract address
fee manager contract eth address
Auto-incrementing identifier.
json rpc url address use to connect to the node
lending contract eth address
Nft-market eth contract address
Nft-market owner eth address
Native currency decimal value
Name of the blockchain network on which the transaction occurs
Address of Payment Batcher Factory contract
Address of Payment Batcher Factory contract
json rpc url address for studio frontend app use to connect to the node
Time at which the object was last updated.
Example
Copy {
"activitiesSubgraphUrl": "xyz789",
"agreementFactoryAddress": "abc123",
"agreementSubgraphUrl": "xyz789",
"alchemyApiKey": "xyz789",
"capabilities": [NetworkCapability],
"chainId": 123,
"createdAt": "2007-12-03T10:15:30Z",
"defaultStripeFeeInPercent": 987,
"dmmAddress": "abc123",
"feeManagerAddress": "abc123",
"id": "4",
"jsonRpcUrl": "xyz789",
"lendingContractAddress": "xyz789",
"marketAddress": "xyz789",
"marketOwner": "xyz789",
"nativeCoin": "xyz789",
"nativeCoinDecimals": 123,
"networkName": "amoy",
"nftSubgraphUrl": "abc123",
"payeeVaultFactoryAddress": "abc123",
"paymentBatcherFactoryAddress": "xyz789",
"studioPublicJsonRpcUrl": "abc123",
"updatedAt": "2007-12-03T10:15:30Z"
}
NetworkConfigConnection
Fields
Fetch total count of records
Example
Copy {
"nodes": [NetworkConfig],
"pageInfo": OffsetPageInfo,
"totalCount": 123
}
NetworkConfigFilter
Fields
Example
Copy {
"activitiesSubgraphUrl": StringFieldComparison,
"agreementFactoryAddress": StringFieldComparison,
"agreementSubgraphUrl": StringFieldComparison,
"alchemyApiKey": StringFieldComparison,
"and": [NetworkConfigFilter],
"capabilities": NetworkConfigFilterNetworkCapabilityFilter,
"chainId": IntFieldComparison,
"createdAt": DateFieldComparison,
"defaultStripeFeeInPercent": IntFieldComparison,
"dmmAddress": StringFieldComparison,
"feeManagerAddress": StringFieldComparison,
"id": IDFilterComparison,
"jsonRpcUrl": StringFieldComparison,
"lendingContractAddress": StringFieldComparison,
"marketAddress": StringFieldComparison,
"marketOwner": StringFieldComparison,
"nativeCoin": StringFieldComparison,
"nativeCoinDecimals": IntFieldComparison,
"networkName": NetworkNameFilterComparison,
"nftSubgraphUrl": StringFieldComparison,
"or": [NetworkConfigFilter],
"payeeVaultFactoryAddress": StringFieldComparison,
"paymentBatcherFactoryAddress": StringFieldComparison,
"studioPublicJsonRpcUrl": StringFieldComparison,
"updatedAt": DateFieldComparison
}
NetworkConfigFilterNetworkCapabilityFilter
Fields
Example
Copy {
"and": [NetworkConfigFilterNetworkCapabilityFilter],
"networkCapability": NetworkCapabilitiesFilterComparison,
"or": [NetworkConfigFilterNetworkCapabilityFilter]
}
NetworkConfigPublicModel
Fields
List of capabilities | describe what can be done on a given chain.
Name of the blockchain network on which the transaction occurs
json rpc url address for studio frontend app use to connect to the node
Example
Copy {
"capabilities": [NetworkCapabilitiesModel],
"chainId": 123.45,
"isTestNet": false,
"networkName": "amoy",
"studioPublicJsonRpcUrl": "abc123"
}
NetworkConfigSort
Fields
Example
Copy {"direction": "ASC", "field": "activitiesSubgraphUrl", "nulls": "NULLS_FIRST"}
NetworkConfigSortFields
Values
defaultStripeFeeInPercent
paymentBatcherFactoryAddress
Example
Copy "activitiesSubgraphUrl"
NetworkConfigV2Model
Fields
agreement factory eth address
agreements subgraph url address
List of capabilities | describe what can be done on a given chain.
Time at which the object was created.
blockchain explorer for review transactions
fee manager contract eth address
Auto-incrementing identifier.
ipfs endpoint url use to upload files and factsheets
json rpc url address use to connect to the node
lending contract eth address
Nft-market eth contract address
Nft-market owner eth address
Name of the blockchain network on which the transaction occurs
Time at which the object was last updated.
Example
Copy {
"agreementFactoryAddress": "abc123",
"agreementSubgraphUrl": "abc123",
"capabilities": [NetworkCapabilitiesModel],
"chainId": 987.65,
"createdAt": "2007-12-03T10:15:30Z",
"currencies": CurrenciesModel,
"explorer": "xyz789",
"feeManagerAddress": "xyz789",
"id": "xyz789",
"ipfsEndpoint": "abc123",
"isTestNet": false,
"jsonRpcUrl": "abc123",
"lendingContractAddress": "abc123",
"marketAddress": "abc123",
"marketOwner": "abc123",
"networkName": "amoy",
"nftSubgraphUrl": "xyz789",
"updatedAt": "2007-12-03T10:15:30Z"
}
NetworkName
Values
Example
NetworkNameFilterComparison
Fields
Example
Copy {
"eq": "amoy",
"gt": "amoy",
"gte": "amoy",
"iLike": "amoy",
"in": ["amoy"],
"is": false,
"isNot": false,
"like": "amoy",
"lt": "amoy",
"lte": "amoy",
"neq": "amoy",
"notILike": "amoy",
"notIn": ["amoy"],
"notLike": "amoy"
}
NumberFieldComparison
Fields
Example
Copy {
"between": NumberFieldComparisonBetween,
"eq": 123.45,
"gt": 987.65,
"gte": 123.45,
"in": [123.45],
"is": true,
"isNot": true,
"lt": 987.65,
"lte": 123.45,
"neq": 123.45,
"notBetween": NumberFieldComparisonBetween,
"notIn": [123.45]
}
NumberFieldComparisonBetween
Fields
Example
Copy {"lower": 123.45, "upper": 123.45}
OffsetPageInfo
Fields
true if paging forward and there are more records.
true if paging backwards and there are more records.
Example
Copy {"hasNextPage": true, "hasPreviousPage": false}
OffsetPaging
Fields
Limit the number of records returned
Offset to start returning records from
Example
Copy {"limit": 987, "offset": 987}
RedirectDomain
Fields
Example
RedirectDomainFilter
Fields
Example
Copy {
"and": [RedirectDomainFilter],
"domain": StringFieldComparison,
"or": [RedirectDomainFilter]
}
RedirectDomainSort
Fields
Example
Copy {"direction": "ASC", "field": "domain", "nulls": "NULLS_FIRST"}
RedirectDomainSortFields
Values
Example
S3LinkReq
Fields
mime type of the file -> image/jpeg
The ID of the record to update
the file name must contain its extension -> [name].jpg
indicates the type of image uploaded (banner or avatar).
Example
Copy {
"contentType": "abc123",
"entityId": "abc123",
"fileName": "abc123",
"imageType": "ENTITY_AVATAR"
}
S3LinkRes
Fields
Example
Copy {"uploadUrl": "xyz789"}
SortDirection
Description
Sort Directions
Values
Example
SortNulls
Description
Sort Nulls Options
Values
Example
String
Description
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Example
StringFieldComparison
Fields
Example
Copy {
"eq": "xyz789",
"gt": "abc123",
"gte": "abc123",
"iLike": "xyz789",
"in": ["abc123"],
"is": true,
"isNot": true,
"like": "abc123",
"lt": "xyz789",
"lte": "abc123",
"neq": "xyz789",
"notILike": "abc123",
"notIn": ["abc123"],
"notLike": "abc123"
}
Tenant
Description
Tenant ID to which artists, enterprise and labels belong.
Fields
Time at which the object was created.
Auto-incrementing identifier.
Min payment batcher balance value
Address of the contract user by tenant to make royalty payments.
Identifier of the tenant. This value corresponds to the tenant ID from the revelator database.
Time at which the object was last updated.
Example
Copy {
"createdAt": "2007-12-03T10:15:30Z",
"id": "4",
"minPaymentBatcherBalanceInUSDC": 123.45,
"name": "xyz789",
"paymentBatcherAddress": "xyz789",
"tenantUri": "abc123",
"updatedAt": "2007-12-03T10:15:30Z"
}
UpdateCollectionEntity
Fields
avatar url, displayed on the storefront.
banner url, displayed on the storefront.
Identifier of the entity. This value corresponds to the ID from the revelator database.
Example
Copy {
"avatarUrl": "abc123",
"bannerUrl": "abc123",
"description": "abc123",
"email": "xyz789",
"entityUri": "abc123",
"name": "xyz789"
}
Fields
Filter used to find fields to update
The update to apply to all records found using the filter
Example
Copy {
"filter": CollectionEntityUpdateFilter,
"update": UpdateCollectionEntity
}
UpdateManyResponse
Fields
The number of records updated.
Example
Copy {"updatedCount": 987}
Fields
The id of the record to update
Example
Copy {
"id": "4",
"update": UpdateCollectionEntity
}