Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 19.7 KB

File metadata and controls

8 lines (5 loc) · 19.7 KB

CedarSchemaResponse

Fields

Field Type Required Description Example
schema_ models.Schema ✔️ N/A {
"Cloudinary": {
"actions": {
"create": {
"appliesTo": {
"principalTypes": [
"APIKey",
"User",
"Group"
],
"resourceTypes": [
"Folder",
"Asset",
"Collection"
]
}
},
"read": {
"appliesTo": {
"principalTypes": [
"APIKey",
"User",
"Group"
],
"resourceTypes": [
"Folder",
"Asset",
"Feature"
]
}
},
"move": {
"appliesTo": {
"principalTypes": [
"APIKey",
"User",
"Group"
],
"resourceTypes": [
"Asset",
"Folder"
],
"context": {
"type": "Record",
"attributes": {
"direction": {
"type": "String",
"required": false
}
}
}
}
}
},
"entityTypes": {
"User": {
"shape": {
"type": "Record",
"attributes": {
"root": {
"type": "Boolean",
"required": false
}
}
}
},
"Asset": {
"shape": {
"type": "Record",
"attributes": {
"ancestor_ids": {
"type": "Set",
"element": {
"type": "String"
},
"required": true
},
"resource_type": {
"type": "String",
"required": true
}
}
}
},
"Folder": {
"shape": {
"type": "Record",
"attributes": {
"ancestor_ids": {
"type": "Set",
"element": {
"type": "String"
},
"required": true
},
"name": {
"type": "String",
"required": true
}
}
}
}
}
},
"MediaFlows": {
"actions": {
"read": {
"appliesTo": {
"principalTypes": [
"Cloudinary::User",
"Cloudinary::Group"
],
"resourceTypes": [
"EasyFlow",
"PowerFlow",
"LogEntry"
]
}
}
},
"entityTypes": {
"EasyFlow": {},
"PowerFlow": {},
"LogEntry": {}
}
}
}