Provision Watcher Link
Generates a new watcher link
Example
mutation provisionWatcherLink {
provisionWatcherLink(input: { uname: "subaccount_name", mpn: BTC }) {
watcherLink {
createdAt
miningProfileName
code
views
}
}
}
Response
{
"data": {
"provisionWatcherLink": {
"watcherLink": {
"createdAt": "",
"miningProfileName": "BTC",
"code": "",
"views": 0
}
}
}
}
Arguments
input
(ProvisionWatcherLinkInput!)
The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
type ProvisionWatcherLinkInput {
clientMutationId: String
uname: String!
mpn: MiningProfileName!
}
Type
ProvisionWatcherLinkPayload
The output of our provisionWatcherLink
mutation.
type ProvisionWatcherLinkPayload {
clientMutationId: String
watcherLink: WatcherLink
query: Query
watcherLinkEdge(orderBy: [WatcherLinksOrderBy!] = [PRIMARY_KEY_ASC]): WatcherLinksEdge
}
Fields
-
clientMutationId
(String
) The exact sameclientMutationId
that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. -
watcherLink
(WatcherLink) -
query
(Query) -
watcherLinkEdge
(WatcherLinksEdge) An edge for ourWatcherLink
. May be used by Relay 1.type WatcherLinksEdge { cursor: Cursor node: WatcherLink! }
-
orderBy
(WatcherLinksOrderBy!)
The method to use when orderingWatcherLink
.enum WatcherLinksOrderBy { NATURAL ID_ASC ID_DESC CODE_ASC CODE_DESC PRIMARY_KEY_ASC PRIMARY_KEY_DESC }
-