Skip to content

Instantly share code, notes, and snippets.

@adambisek
Created June 28, 2018 14:34
Show Gist options
  • Save adambisek/6a7e307ca3f291decf727f63bef2ba05 to your computer and use it in GitHub Desktop.
Save adambisek/6a7e307ca3f291decf727f63bef2ba05 to your computer and use it in GitHub Desktop.
query findByUrl($url: String!) {
url(url: $url) {
httpStatusCode
httpStatus
title
url
httpHeaders
... on UrlStatus401Unauthorized {
realm
}
... on UrlStatus500InternalServerError {
errorMessage500
errorCode
}
... on UrlStatus404NotFound {
errorMessage404
}
... on UrlStatus200Ok {
adgenPageAplCode
template
params
base {
target
href
}
meta {
name
property
httpEquiv
content
}
links {
rel
href
hrefLang
sizes
type
}
scripts {
type
src
defer
async
charset
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment