Create Attribute
Create a new project-specific user attribute (manually populated).
Request
- Base URLhttps://api.aspect.inc
- URLhttps://api.aspect.inc/metadata/attributes
- AuthAPI key in header Authorization
Request body
Project the attribute belongs to
Human-readable name, unique per project
Type of value an attribute holds.
- string: Text.
- integer: A whole number.
- float: A decimal number.
- boolean: True or false.
- datetime: A date and time.
- single_select: One of the attribute's options.
- multi_select: Any number of the attribute's options.
- user_id: Users.
- person_id: People recognized in the asset. Used by the built-in People attribute.
- object_id: Objects recognized in the asset. Used by the built-in Objects attribute.
- directory_id: The directories containing the asset. Used by the built-in Path attribute.
Response
Successful Response
Unique identifier for this attribute
Project ID for project-specific attributes, null for system global
Human-readable display name
Type of value an attribute holds.
- string: Text.
- integer: A whole number.
- float: A decimal number.
- boolean: True or false.
- datetime: A date and time.
- single_select: One of the attribute's options.
- multi_select: Any number of the attribute's options.
- user_id: Users.
- person_id: People recognized in the asset. Used by the built-in People attribute.
- object_id: Objects recognized in the asset. Used by the built-in Objects attribute.
- directory_id: The directories containing the asset. Used by the built-in Path attribute.
Source of metadata attribute or value.
Grouping category for UI display
Whether this attribute can be used in filters
Whether values for this attribute can be edited through metadata APIs
Whether assets can be sorted by this attribute
User who created the attribute; null for system attributes and ones created before creators were recorded
When the attribute was created
When the attribute was last updated
Changes
No recorded changes to this operation across all 1 revision of this API.