You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
when running the notebook r-person-publications.ipynb (or pasting into https://api.datacite.org/graphql ) the query below, I get errors "Cannot query field "sourceId" on type "PublicationEdge" and same for "targetId". Has the schema changed ?
Docs say the following, and I don't see source (asuming node became the target):
type PublicationEdge {
# A cursor for use in pagination.
cursor: String!
# The item at the end of the edge.
node: Publication
}
"# Generate the GraphQL query: find the researcher by ORCID ID, then fetch the first 50 publications, datasets and software with DataCite DOIs linked to that ORCID account.\n",
{
person(id: "https://orcid.org/0000-0003-1419-2405") {
id
type
name
publications(first: 50) {
totalCount
nodes {
id
type
relatedIdentifiers {
relatedIdentifier
}
}
edges {
sourceId
targetId
}
}
datasets(first: 50) {
totalCount
nodes {
id
type
relatedIdentifiers {
relatedIdentifier
}
}
edges {
sourceId
targetId
}
}
softwareSourceCodes(first: 50) {
totalCount
nodes {
id
type
relatedIdentifiers {
relatedIdentifier
}
}
edges {
sourceId
targetId
}
}
}
}
@sneumann thank you for the question. Would you mind sending this to support@datacite.org? This is the best way to contact us with technical support inquiries. Many thanks!
Hi,
when running the notebook r-person-publications.ipynb (or pasting into https://api.datacite.org/graphql ) the query below, I get errors
"Cannot query field "sourceId" on type "PublicationEdge"
and same for"targetId"
. Has the schema changed ?Docs say the following, and I don't see source (asuming
node
became the target):Yours,
Steffen
Query at
pidgraph-notebooks-r/person-publications/r-person-publications.ipynb
Line 82 in 63b4c38
Front conversations
The text was updated successfully, but these errors were encountered: