Files
albert.resources.files
FileNamespace
FileCategory
SignURLPOSTFile
Bases: BaseAlbertModel
Show JSON schema:
{
"$defs": {
"FileCategory": {
"enum": [
"SDS",
"Other"
],
"title": "FileCategory",
"type": "string"
},
"FileNamespace": {
"enum": [
"agent",
"breakthrough",
"pipeline",
"public",
"result",
"sds"
],
"title": "FileNamespace",
"type": "string"
}
},
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"namespace": {
"$ref": "#/$defs/FileNamespace"
},
"contentType": {
"title": "Contenttype",
"type": "string"
},
"metadata": {
"anyOf": [
{
"items": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Metadata"
},
"category": {
"anyOf": [
{
"$ref": "#/$defs/FileCategory"
},
{
"type": "null"
}
],
"default": null
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Url"
}
},
"required": [
"name",
"namespace",
"contentType"
],
"title": "SignURLPOSTFile",
"type": "object"
}
Fields:
-
name
(str
) -
namespace
(FileNamespace
) -
content_type
(str
) -
metadata
(list[dict[str, str]] | None
) -
category
(FileCategory | None
) -
url
(str | None
)
SignURLPOST
Bases: BaseAlbertModel
Show JSON schema:
{
"$defs": {
"FileCategory": {
"enum": [
"SDS",
"Other"
],
"title": "FileCategory",
"type": "string"
},
"FileNamespace": {
"enum": [
"agent",
"breakthrough",
"pipeline",
"public",
"result",
"sds"
],
"title": "FileNamespace",
"type": "string"
},
"SignURLPOSTFile": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"namespace": {
"$ref": "#/$defs/FileNamespace"
},
"contentType": {
"title": "Contenttype",
"type": "string"
},
"metadata": {
"anyOf": [
{
"items": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Metadata"
},
"category": {
"anyOf": [
{
"$ref": "#/$defs/FileCategory"
},
{
"type": "null"
}
],
"default": null
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Url"
}
},
"required": [
"name",
"namespace",
"contentType"
],
"title": "SignURLPOSTFile",
"type": "object"
}
},
"properties": {
"files": {
"items": {
"$ref": "#/$defs/SignURLPOSTFile"
},
"title": "Files",
"type": "array"
}
},
"required": [
"files"
],
"title": "SignURLPOST",
"type": "object"
}
Fields:
FileInfo
Bases: BaseAlbertModel
Show JSON schema:
{
"$defs": {
"FileNamespace": {
"enum": [
"agent",
"breakthrough",
"pipeline",
"public",
"result",
"sds"
],
"title": "FileNamespace",
"type": "string"
}
},
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"size": {
"title": "Size",
"type": "integer"
},
"etag": {
"title": "Etag",
"type": "string"
},
"namespace": {
"anyOf": [
{
"$ref": "#/$defs/FileNamespace"
},
{
"type": "null"
}
],
"default": null
},
"contentType": {
"title": "Contenttype",
"type": "string"
},
"lastModified": {
"format": "date-time",
"title": "Lastmodified",
"type": "string"
},
"metadata": {
"items": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"title": "Metadata",
"type": "array"
}
},
"required": [
"name",
"size",
"etag",
"contentType",
"lastModified"
],
"title": "FileInfo",
"type": "object"
}
Fields: