Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add 2DMatpedia to the providers, with a static index meta-db #74

Merged
merged 2 commits into from
Sep 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions src/index-metadbs/twodmatpedia/v1/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"meta" : {
"api_version" : "1.0.0",
"query" : {
"representation" : "/info"
},
"more_data_available" : false,
"schema" : "https://schemas.optimade.org/openapi/v1.0/optimade_index.json"
},
"data" : {
"attributes" : {
"available_api_versions" : [
{
"version" : "1.0.0",
"url" : "http://providers.optimade.org/index-metadbs/twodmatpedia/v1/"
}
],
"is_index" : true,
"formats" : [
"json"
],
"entry_types_by_format" : {
"json" : []
},
"available_endpoints" : [
"info",
"links"
],
"api_version" : "1.0.0"
},
"type" : "info",
"relationships" : {
"default" : {
"data" : {
"id" : "twodmatpedia",
"type" : "links"
}
}
},
"id" : "/"
}
}
34 changes: 34 additions & 0 deletions src/index-metadbs/twodmatpedia/v1/links.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"meta" : {
"api_version" : "1.0.0",
"query" : {
"representation" : "/links"
},
"more_data_available" : false,
"schema" : "https://schemas.optimade.org/openapi/v1.0/optimade_index.json"
},
"data" : [
{
"id" : "twodmatpedia",
"type" : "links",
"attributes" : {
"name": "2DMatpedia",
"description": "2DMatpedia, an open computational database of two-dimensional materials from top-down and bottom-up approaches",
"base_url": "http://optimade.2dmatpedia.org",
"homepage": "http://2dmatpedia.org",
"link_type": "child"
}
},
{
"id" : "optimade-providers",
"type" : "links",
"attributes" : {
"name": "OPTIMADE Providers Index Meta-Database",
"description": "The list of OPTIMADE providers maintained by Materials-Consortia",
"base_url": "https://providers.optimade.org",
"homepage": "https://www.optimade.org",
"link_type": "providers"
}
}
]
}
11 changes: 11 additions & 0 deletions src/links/v1/providers.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,17 @@
"homepage": "https://www.crystallography.net/tcod",
"link_type": "external"
}
},
{
"type": "links",
"id": "twodmatpedia",
"attributes": {
"name": "2DMatpedia",
"description": "2DMatpedia, an open computational database of two-dimensional materials from top-down and bottom-up approaches",
"base_url": "http://providers.optimade.org/index-metadbs/twodmatpedia",
"homepage": "http://2dmatpedia.org",
"link_type": "external"
}
}
]
}