Create an AA sequence
Create an AA sequence
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
aminoAcids
Amino acids for the AA sequence.
name
Name of the AA sequence.
aliases
Aliases to add to the AA sequence
annotations
Annotations to create on the AA sequence.
customFields
Custom fields to add to the AA sequence. Every field should have its name as a key, mapping to an object with information about the value of the field.
entityRegistryId
Entity registry ID to set for the registered entity. Cannot specify both entityRegistryId and namingStrategy at the same time.
fields
Fields to set on the AA sequence. Must correspond with the schema's field definitions. Every field should have its name as a key, mapping to an object with information about the value of the field.
folderId
ID of the folder containing the AA sequence.
namingStrategy
Specifies the behavior for automatically generated names when registering an entity.
- NEW_IDS: Generate new registry IDs
- IDS_FROM_NAMES: Generate registry IDs based on entity names
- DELETE_NAMES: Generate new registry IDs and replace name with registry ID
- SET_FROM_NAME_PARTS: Generate new registry IDs, rename according to name template, and keep old name as alias
- REPLACE_NAMES_FROM_PARTS: Generate new registry IDs, and replace name according to name template
- KEEP_NAMES: Keep existing entity names as registry IDs
- REPLACE_ID_AND_NAME_FROM_PARTS: Generate registry IDs and names according to name template
registryId
Registry ID into which entity should be registered. this is the ID of the registry which was configured for a particular organization To get available registryIds, use the /registries endpoint
Required in order for entities to be created directly in the registry.
schemaId
ID of the AA sequence's schema.
Response
Created
aliases
Array of aliases
aminoAcids
Amino acids of the AA sequence.
annotations
Array of annotation objects on the AA sequence.
apiURL
The canonical url of the AA Sequence in the API.
archiveRecord
createdAt
DateTime the AA sequence was created.
creator
customFields
Custom fields set on the AA sequence.
entityRegistryId
Registry ID of the AA sequence if registered.
fields
folderId
ID of the folder that contains the AA sequence.
id
ID of the AA sequence.
length
Number of amino acids in the AA sequence.
modifiedAt
DateTime the AA sequence was last modified.
name
Name of the AA sequence.
registrationOrigin
registryId
Registry the AA sequence is registered in.
schema
url
The path of the web URL, omitting the tenant domain
webURL
URL of the AA sequence.
Errors
400
Bad Request Error
503
Service Unavailable Error