2mo
POST
/crystal-gen/describe
Get a detailed description of a crystal structure
Request body
file
objectRequiredid
url
stringRequiredname
type
stringRequiredorg_id
stringRequiredteam_id
stringRequiredfilename
stringRequiredvisibility
stringRequireddescription
Crystal structure file (CIF, POSCAR, etc.)
const url = 'https://api.ouro.foundation/routes/mmoderwell/crystal-gen/describe';
const options = {
method: 'POST',
headers: {
'Authorization': 'ApiKey {your-ouro-api-key}',
'Content-Type': 'application/json'
}
};
const payload = {
"file": {
"url": "example_string",
"type": "example_string",
"org_id": "example_string",
"team_id": "example_string",
"filename": "example_string",
"visibility": "example_string"
}
};
options.body = JSON.stringify(payload);
fetch(url, options)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
Get a detailed description of a crystal structure
Loading compatible actions...
Loading comments...