MultiBlast Query Service v2.0.0

link

Resources

get /jobs

Get Job List  

Lists the current user's collected blast query jobs.

Parameters chevron_right expand_more

ParameterTypeDescription
Query
site Target Sitestring

Optionally filters the results of the job list endpoint down to only records relevant to the specified TargetSite.

curl -X GET \
  undefined/jobs?site=<value>

200 OK chevron_right expand_more

Success

application/json

application/json

ParameterTypeDescription
[]object

Inherits: object

[].queryJobID* Query Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

[].status* Job Statusstring
Enum:
  • queued
  • in-progress
  • complete
  • failed
  • expired

Inherits: lib.JobStatus

[].site* Target Sitestring
Enum:
  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.TargetSite

[].createdOn* Created Ondatetime

Job creation timestamp.

[].userMeta User Metadataobject

Inherits: object

[].userMeta.summary Brief Summarystring

Brief, user defined summary or tagline for the job.

Max. length: 512

[].userMeta.description Long Descriptionstring

Longform, user provided description of the job.

Response Body

[
  {
    "queryJobID": "9f444b23ceec3ee5588cc4c784c16696",
    "site": "PlasmoDB",
    "status": "expired",
    "createdOn": "2020-10-31T23:00:00Z"
  },
  {
    "queryJobID": "bc49f1a3bc36cd15b84890439d19d395",
    "site": "TriTrypDB",
    "status": "complete",
    "createdOn": "2020-10-31T23:00:00Z",
    "userMeta": {
      "summary": "A blast job"
    }
  },
  {
    "queryJobID": "297a61dda47317f11d8e50e6ab8508c9",
    "site": "VectorBase",
    "status": "failed",
    "createdOn": "2020-10-31T23:00:00Z",
    "userMeta": {
      "summary": "Another blast job.",
      "description": "This job will fail."
    }
  }
]

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

post /jobs

Create New Job  

Creates a new blast query job.

curl -X POST \
  -H "Content-type: multipart/form-data"
  -d @file \
  undefined/jobs

Request Body chevron_right expand_more

multipart/form-data

multipart/form-data

ParameterTypeDescription
config* Query Job Requestobject

Inherits: object

config.jobConfig* Job Configobject

Job Configuration.

Inherits: lib.QueryJobConfig

config.jobConfig.site* Target Sitestring
Enum:
  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.TargetSite

config.jobConfig.targets* Query Targetsarray
config.jobConfig.targets[]object

Inherits: lib.QueryJobTarget

config.jobConfig.targets[].targetDisplayName*string

Blast target display name, e.g. organism name.

config.jobConfig.targets[].targetFile*string

Target blast database file.

config.jobConfig.query Blast Querystring

For Requests

Inline query definition.

This field is to be used for non-file-upload blast queries.

If this field is not set, a query file must be uploaded for the request to be valid.

For Responses

This field will be omitted.

config.jobConfig.addToUserCollection Add to Collectionboolean

Adds this job to the users collection of jobs.

The user's collection of jobs is what is returned by the /jobs endpoint.

config.blastConfig* Blast Tool Configobject

Discriminator: tool

Inherits: lib.BlastQueryConfig

config.blastConfig.tool* Blast Toolstring

Target Blast+ query tool to execute.

Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: lib.BlastQueryTool

config.blastConfig.queryLocation Query Locationobject

Location on the query sequence in 1-based offsets.

Inherits: lib.BlastLocation

config.blastConfig.queryLocation.start*integer

Format: long

config.blastConfig.queryLocation.stop*integer

Format: long

config.blastConfig.eValue Expectation Valuestring

Expectation value (E) threshold for saving hits.

Pattern: ^\d+(?:\.\d+)?(?:[eE]-?\d+)?$

Default value: "10"

config.blastConfig.softMasking Soft Maskingboolean

Apply filtering locations as soft masks.

config.blastConfig.lowercaseMasking Lowercase Maskingboolean

Use lower case filtering in query and subject sequence(s)?

config.blastConfig.queryCoverageHSPPercent Query Coverage HSP Percentnumber

Percent query coverage per High Scoring Pair.

Format: double

config.userMeta User Metadataobject

Inherits: lib.QueryJobUserMeta

config.userMeta.summary Brief Summarystring

Brief, user defined summary or tagline for the job.

Max. length: 512

config.userMeta.description Long Descriptionstring

Longform, user provided description of the job.

query Query Filefile

Optional file upload parameter for uploading multi-blast queries.

IMPORTANT: Either this field or the job config's query field MUST be set in order for a job to be valid.

200 OK chevron_right expand_more

Query job was successfully submitted to the job queue for execution.

Job Creation Response JobCreateResponse

application/json

Response body returned on the successful creation of a new BLAST query job.

Inherits: object

ParameterTypeDescription
queryJobID* Query Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

400 Bad Request chevron_right expand_more

Invalid request body or parameters.

Bad Request BadRequestError

application/json

Request could not be parsed or was otherwise unusable.

Discriminator: status

Discriminator value: bad-request

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "bad-request",
  "message": "malformed JSON"
}

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

409 Conflict chevron_right expand_more

Job already exists and is owned by the current user.

Conflict ConflictError

application/json

The request could not be completed due to a conflict with the current state of the resource.

If you submitted a resource, that resource may already exist.

Inherits: string

422 Unprocessable Entity chevron_right expand_more

Invalid job configuration.

Unprocessable Entity UnprocessableEntityError

application/json

The request payload or parameters are correctly structured but fail resource specific validation.

Discriminator: status

Discriminator value: invalid-input

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
errors*object

Additional properties: Yes

errors.general*array

Non-field specific errors.

errors.general[]string
errors.byKey*object

Field specific errors

Additional properties: Yes

errors.byKey.//*array
errors.byKey.//[]string

Response Body

{
  "status": "invalid-input",
  "message": "JSON validation failed",
  "errors": {
    "general": [],
    "byKey": {
      "id": [
        "Given ID value does not point to an existing record."
      ]
    }
  }
}

get /jobs/{job-id}

Get Job Details  

Returns details about the target job.

As a side effect, interactions with this endpoint will cause the target job to be added to the requesting user's job collection if it was not already present in that user's collection. This default behavior can be defeated by setting the save_job query parameter to false.

The reason this is done is to maintain a legacy job sharing behavior where a job is "shared with" a user automatically when they follow a link to that job.

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id*string

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

Query
save_job Save Jobboolean

Flag that specifies whether the requested job should be saved to the user's job collection.

To maintain legacy job sharing behavior, this parameter defaults to true.

Default value: true

curl -X GET \
  undefined/jobs/{job-id}?save_job=<value>

200 OK chevron_right expand_more

Success

QueryJobDetails QueryJobDetails

application/json

Inherits: object

ParameterTypeDescription
queryJobID* Query Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

status* Job Statusstring
Enum:
  • queued
  • in-progress
  • complete
  • failed
  • expired

Inherits: lib.JobStatus

jobConfig* Job Configobject

Job Configuration.

Inherits: object

jobConfig.site* Target Sitestring
Enum:
  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.TargetSite

jobConfig.targets* Query Targetsarray
jobConfig.targets[]object

Inherits: lib.QueryJobTarget

jobConfig.targets[].targetDisplayName*string

Blast target display name, e.g. organism name.

jobConfig.targets[].targetFile*string

Target blast database file.

jobConfig.query Blast Querystring

For Requests

Inline query definition.

This field is to be used for non-file-upload blast queries.

If this field is not set, a query file must be uploaded for the request to be valid.

For Responses

This field will be omitted.

jobConfig.addToUserCollection Add to Collectionboolean

Adds this job to the users collection of jobs.

The user's collection of jobs is what is returned by the /jobs endpoint.

blastConfig* Blast Tool Configobject

Discriminator: tool

Inherits: lib.BlastQueryConfig

blastConfig.tool* Blast Toolstring

Target Blast+ query tool to execute.

Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: lib.BlastQueryTool

blastConfig.queryLocation Query Locationobject

Location on the query sequence in 1-based offsets.

Inherits: lib.BlastLocation

blastConfig.queryLocation.start*integer

Format: long

blastConfig.queryLocation.stop*integer

Format: long

blastConfig.eValue Expectation Valuestring

Expectation value (E) threshold for saving hits.

Pattern: ^\d+(?:\.\d+)?(?:[eE]-?\d+)?$

Default value: "10"

blastConfig.softMasking Soft Maskingboolean

Apply filtering locations as soft masks.

blastConfig.lowercaseMasking Lowercase Maskingboolean

Use lower case filtering in query and subject sequence(s)?

blastConfig.queryCoverageHSPPercent Query Coverage HSP Percentnumber

Percent query coverage per High Scoring Pair.

Format: double

createdOn* Created Ondatetime

Job creation timestamp.

userMeta User Metadataobject

Inherits: object

userMeta.summary Brief Summarystring

Brief, user defined summary or tagline for the job.

Max. length: 512

userMeta.description Long Descriptionstring

Longform, user provided description of the job.

subJobs Sub-Job IDsarray

List of IDs of sub-jobs that belong to this job.

subJobs[]string

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

404 Not Found chevron_right expand_more

Target job does not exist.

Not Found NotFoundError

application/json

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

post /jobs/{job-id}

Restart Job  

Causes the target job to be restarted (if it is expired).

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id*string

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

curl -X POST \
  undefined/jobs/{job-id}

204 No Content chevron_right expand_more

Job was successfully requeued for execution.

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

403 Forbidden chevron_right expand_more

Forbidden. Returned when attempting to restart a job that has not yet expired.

Forbidden ForbiddenError

application/json

Server understood the request but is refusing it.

Could be caused by incorrect instructions or an authenticated client requesting a resource or action that requires permissions that the client does not have assigned.

Discriminator: status

Discriminator value: forbidden

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "forbidden",
  "message": "the current user is not permitted to perform this action"
}

404 Not Found chevron_right expand_more

Target job does not exist in the user's job collection.

Not Found NotFoundError

application/json

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

410 Gone chevron_right expand_more

Gone.

The BLAST+ target databases that the target job was originally run against no longer exist on this server.

Gone GoneError

application/json

The request could not be completed due to the requested resource or its underlying data no longer being present on the server.

Inherits: string

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

patch /jobs/{job-id}

Update Job  

Updates a user's job.

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id*string

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

curl -X PATCH \
  -H "Content-type: application/json"
  -d @body.json \
  undefined/jobs/{job-id}

Request Body chevron_right expand_more

Query Job Update QueryJobPatchRequest

application/json

Inherits: object

ParameterTypeDescription
userMeta User Metadataobject

Inherits: lib.QueryJobUserMeta

userMeta.summary Brief Summarystring

Brief, user defined summary or tagline for the job.

Max. length: 512

userMeta.description Long Descriptionstring

Longform, user provided description of the job.

204 No Content chevron_right expand_more

Success.

The user's job record was successfully updated.

400 Bad Request chevron_right expand_more

Bad Request.

The request did not resemble or could not be parsed as the expected type.

Bad Request BadRequestError

application/json

Request could not be parsed or was otherwise unusable.

Discriminator: status

Discriminator value: bad-request

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "bad-request",
  "message": "malformed JSON"
}

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

404 Not Found chevron_right expand_more

Target job does not exist in the user's job collection.

Not Found NotFoundError

application/json

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

422 Unprocessable Entity chevron_right expand_more

Invalid job configuration.

Unprocessable Entity UnprocessableEntityError

application/json

The request payload or parameters are correctly structured but fail resource specific validation.

Discriminator: status

Discriminator value: invalid-input

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
errors*object

Additional properties: Yes

errors.general*array

Non-field specific errors.

errors.general[]string
errors.byKey*object

Field specific errors

Additional properties: Yes

errors.byKey.//*array
errors.byKey.//[]string

Response Body

{
  "status": "invalid-input",
  "message": "JSON validation failed",
  "errors": {
    "general": [],
    "byKey": {
      "id": [
        "Given ID value does not point to an existing record."
      ]
    }
  }
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

delete /jobs/{job-id}

Delete Job  

Deletes the target job from the user's job collection.

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id*string

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

curl -X DELETE \
  undefined/jobs/{job-id}

204 No Content chevron_right expand_more

Job was successfully deleted from the user's job collection.

This does not mean the job was deleted, it will continue to exist until it expires.

If a user deletes a job from their job collection but then re-accesses that job by job-url, the job will be re-added to their collection.

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

404 Not Found chevron_right expand_more

Target job does not exist in the user's job collection.

Not Found NotFoundError

application/json

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

get /jobs/{job-id}/query

Get Query  

Returns the query for the target job, optionally as a download.

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id*string

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

Query
download* Downloadboolean

If set to true, the server will send a Content-Disposition header in the response indicating that the query file should be downloaded rather than rendered.

curl -X GET \
  undefined/jobs/{job-id}/query?download=<value>

200 OK chevron_right expand_more

Success

Headers

ParameterTypeDescription
Content-Dispositionstring

Present if the download query param was sent in with the request.

Job Query

text/plain

Raw query text

401 Unauthorized chevron_right expand_more

Unauthorized

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

404 Not Found chevron_right expand_more

Not Found

Not Found NotFoundError

application/json

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

get /jobs/{job-id}/result

Download Job Result  

Downloads the ASN1 result from the blast query execution.

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id*string

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

Query
download* Downloadboolean

If set to true, the server will send a Content-Disposition header in the response indicating that the result file should be downloaded rather than rendered.

curl -X GET \
  undefined/jobs/{job-id}/result?download=<value>

200 OK chevron_right expand_more

Success

Headers

ParameterTypeDescription
Content-Disposition*string

Sent to indicate the result is to be downloaded rather than rendered in the browser.

Job Result

text/plain

Raw job result.

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

403 Forbidden chevron_right expand_more

Forbidden.

Returned when attempting to download the result for a job that has not yet completed.

Forbidden ForbiddenError

application/json

Server understood the request but is refusing it.

Could be caused by incorrect instructions or an authenticated client requesting a resource or action that requires permissions that the client does not have assigned.

Discriminator: status

Discriminator value: forbidden

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "forbidden",
  "message": "the current user is not permitted to perform this action"
}

404 Not Found chevron_right expand_more

Target job does not exist in the user's job collection.

Not Found NotFoundError

application/json

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

get /jobs/{job-id}/stderr

Get STDERR Output  

Returns the stderr output for the blast tool execution for this job.

This output may be empty.

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id Query Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

Query
download Downloadboolean

When set to true, indicates that the service should mark the returned file as an attachment using the Content-Disposition header to cause the file to be downloaded by the browser rather than rendered.

curl -X GET \
  undefined/jobs/{job-id}/stderr?download=<value>

200 OK chevron_right expand_more

Success

Headers

ParameterTypeDescription
Content-Dispositionstring

Present if the download query parameter was sent in with the request.

text/plain

text/plain

Response Body

FASTA-Reader: Ignoring invalid residues at position(s): On line 1: 1, 62-63
FASTA-Reader: Ignoring invalid residues at position(s): On line 2: 44-46
FASTA-Reader: Ignoring invalid residues at position(s): On line 3: 27-29
FASTA-Reader: Ignoring invalid residues at position(s): On line 4: 10-12, 73-75
FASTA-Reader: Ignoring invalid residues at position(s): On line 5: 56-58
FASTA-Reader: Ignoring invalid residues at position(s): On line 6: 39-41

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

403 Forbidden chevron_right expand_more

Forbidden.

Returned when attempting to list the files for a job that is not yet complete or has expired.

Forbidden ForbiddenError

application/json

Server understood the request but is refusing it.

Could be caused by incorrect instructions or an authenticated client requesting a resource or action that requires permissions that the client does not have assigned.

Discriminator: status

Discriminator value: forbidden

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "forbidden",
  "message": "the current user is not permitted to perform this action"
}

404 Not Found chevron_right expand_more

Target job does not exist.

Not Found NotFoundError

application/json

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

post /statuses

Bulk Status Lookup  

Lookup the statuses for the list of job IDs posted.

The response will be a mapping whose keys are the posted job IDs and whose values are the status of the job represented by the associated ID.

If a job ID in the input list does not appear to be a real/valid job ID, the ID will be omitted from the response object.

Each status value will be a valid JobStatus enum item, meaning they will each be one of:

  • "queued"
  • "in-progress"
  • "complete"
  • "failed"
  • "expired"
curl -X POST \
  -H "Content-type: application/json"
  -d @body.json \
  undefined/statuses

Request Body chevron_right expand_more

application/json

application/json

ParameterTypeDescription
[]string

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

Request Body

[
  "dd6060e5367622e574ffb38f32bfa049",
  "77542f92d9e68ea80eff4852ecc41fa4",
  "29e07b0b80181222ad33cbc8f679d672",
  "748ba381dd81bb8de615319837ffa350",
  "f4757ea84c455b04a1d307d4ac33049d"
]

200 OK chevron_right expand_more

Success

Bulk Job Status Response JobBulkStatusResponse

application/json

Returns a mapping of job-id to status for each of the valid job IDs that appeared in the original bulk status request.

Additional properties: Yes

Inherits: object

ParameterTypeDescription
/^[\dA-Fa-f]{32}$/*string
Enum:
  • queued
  • in-progress
  • complete
  • failed
  • expired

Inherits: lib.JobStatus

Response Body

{
  "dd6060e5367622e574ffb38f32bfa049": "queued",
  "29e07b0b80181222ad33cbc8f679d672": "complete",
  "748ba381dd81bb8de615319837ffa350": "in-progress",
  "f4757ea84c455b04a1d307d4ac33049d": "expired"
}

500 Internal Server Error chevron_right expand_more

Internal Server Error

An unexpected exception was thrown while attempting to process the request.

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

get /targets

Get Target Index  

Retrieves an index of all the available blast targets.

curl -X GET \
  undefined/targets

200 OK chevron_right expand_more

Success

BlastTargetIndex BlastTargetIndex

application/json

Additional properties: Yes

Inherits: object

ParameterTypeDescription
/^\w+$/*object

Additional properties: Yes

Inherits: lib.BlastTargetMap

/^\w+$/./^\w+$/*object

Inherits: lib.BlastableTarget

/^\w+$/./^\w+$/.naTargetsarray

Default value: []

/^\w+$/./^\w+$/.naTargets[]string
/^\w+$/./^\w+$/.aaTargetsarray

Default value: []

/^\w+$/./^\w+$/.aaTargets[]string

Response Body

{
  "PlasmoDB": {
    "Pberghei": {
      "naTargets": [
        "PbergheiESTs"
      ]
    },
    "PfalciparumGB4": {
      "naTargets": [
        "PfalciparumGB4AnnotatedCDSs",
        "PfalciparumGB4AnnotatedTranscripts",
        "PfalciparumGB4Genome"
      ],
      "aaTargets": [
        "PfalciparumGB4AnnotatedProteins"
      ]
    }
  }
}

post /link-guest

Post Link  

A request to transfer ownership of jobs from a guest user to a logged in user, linking the logged in user to the jobs they created before they logged in.

curl -X POST \
  -H "Content-type: application/json"
  -d @body.json \
  undefined/link-guest

delete /maintenance/cache

Delete Minio Cache  

Deletes all jobs in the job cache. This endpoint is to be used during site releases to clear any old data that may have been invalidated by the changes to the underlying site data.

Headers chevron_right expand_more

ParameterTypeDescription
Admin-Token*string
curl -X DELETE \
  -H "Admin-Token: <value>" \
  undefined/maintenance/cache

204 No Content chevron_right expand_more

Success

401 Unauthorized chevron_right expand_more

Invalid Admin-Token token value.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

500 Internal Server Error chevron_right expand_more

Internal Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

delete /maintenance/cache/{job-id}

Delete Job Cache  

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

Headers chevron_right expand_more

ParameterTypeDescription
Admin-Token*string
curl -X DELETE \
  -H "Admin-Token: <value>" \
  undefined/maintenance/cache/{job-id}

204 No Content chevron_right expand_more

Success

401 Unauthorized chevron_right expand_more

Invalid Admin-Token token value.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

500 Internal Server Error chevron_right expand_more

Internal Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

get /maintenance/broken-jobs

List  

Lists job IDs for jobs owned by the current campus that are in the "failed" status.

Headers chevron_right expand_more

ParameterTypeDescription
Admin-Token*string
curl -X GET \
  -H "Admin-Token: <value>" \
  undefined/maintenance/broken-jobs

200 OK chevron_right expand_more

Success

application/json

application/json

ParameterTypeDescription
[]object

Inherits: object

[].queryJobID* Query Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

[].rawConfig*any
[].createdOn* Created Ondatetime

Job creation timestamp.

[].failedOn* Failed Ondatetime

Job failure timestamp.

401 Unauthorized chevron_right expand_more

Invalid Admin-Token token value.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

500 Internal Server Error chevron_right expand_more

Internal Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

get /api

 

Renders the API documentation for this service.

curl -X GET \
  undefined/api

200 OK chevron_right expand_more

text/html

text/html

get /health

 

Prints information about the overall service health.

curl -X GET \
  undefined/health

200 OK chevron_right expand_more

HealthResponse HealthResponse

application/json

Health details about the service

Inherits: object

ParameterTypeDescription
status*string

Status describes the overall service state. A status of "healthy" indicates that everything is running smoothly and all service dependencies are reachable and online. A status of "unhealthy" indicates that something is wrong with either this service or one or more of it's dependency services.

Enum:
  • healthy
  • unhealthy
dependencies*array

A list of external services that this service depends on and some details about them.

dependencies[]object

Inherits: DependencyStatus

dependencies[].name*string

Name of the external depdendency.

dependencies[].reachable*boolean

Whether or not the external service is reachable.

dependencies[].online*string

Whether or not the external service is online and available for requests.

Enum:
  • yes
  • unknown
  • no
info*object

Additional properties: Yes

info.threads*integer

Min. value: 1

info.uptime*string
info.uptimeMillis*integer

Min. value: 1

Format: int64

500 Internal Server Error chevron_right expand_more

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

get /metrics

 

Prometheus metrics for the service.

curl -X GET \
  undefined/metrics

200 OK chevron_right expand_more

text/plain

text/plain

Security Schemes

Types

Type GuestJobTransferRequest (object)

Guest to User Job Transfer Request

Request body for a request to transfer ownership of jobs from a guest user to a logged in user.

Inherits: object

Model

ParameterTypeDescription
guestID* Guest IDinteger

ID assigned to the user before they were logged in.

Format: int64

Type QueryJobPostRequest (object)

Query Job Request

Inherits: object

Model

ParameterTypeDescription
jobConfig* Job Configobject

Job Configuration.

Inherits: lib.QueryJobConfig

jobConfig.site* Target Sitestring
Enum:
  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.TargetSite

jobConfig.targets* Query Targetsarray
jobConfig.targets[]object

Inherits: lib.QueryJobTarget

jobConfig.targets[].targetDisplayName*string

Blast target display name, e.g. organism name.

jobConfig.targets[].targetFile*string

Target blast database file.

jobConfig.query Blast Querystring

For Requests

Inline query definition.

This field is to be used for non-file-upload blast queries.

If this field is not set, a query file must be uploaded for the request to be valid.

For Responses

This field will be omitted.

jobConfig.addToUserCollection Add to Collectionboolean

Adds this job to the users collection of jobs.

The user's collection of jobs is what is returned by the /jobs endpoint.

blastConfig* Blast Tool Configobject

Discriminator: tool

Inherits: lib.BlastQueryConfig

blastConfig.tool* Blast Toolstring

Target Blast+ query tool to execute.

Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: lib.BlastQueryTool

blastConfig.queryLocation Query Locationobject

Location on the query sequence in 1-based offsets.

Inherits: lib.BlastLocation

blastConfig.queryLocation.start*integer

Format: long

blastConfig.queryLocation.stop*integer

Format: long

blastConfig.eValue Expectation Valuestring

Expectation value (E) threshold for saving hits.

Pattern: ^\d+(?:\.\d+)?(?:[eE]-?\d+)?$

Default value: "10"

blastConfig.softMasking Soft Maskingboolean

Apply filtering locations as soft masks.

blastConfig.lowercaseMasking Lowercase Maskingboolean

Use lower case filtering in query and subject sequence(s)?

blastConfig.queryCoverageHSPPercent Query Coverage HSP Percentnumber

Percent query coverage per High Scoring Pair.

Format: double

userMeta User Metadataobject

Inherits: lib.QueryJobUserMeta

userMeta.summary Brief Summarystring

Brief, user defined summary or tagline for the job.

Max. length: 512

userMeta.description Long Descriptionstring

Longform, user provided description of the job.

Type QueryJobPatchRequest (object)

Query Job Update

Inherits: object

Model

ParameterTypeDescription
userMeta User Metadataobject

Inherits: lib.QueryJobUserMeta

userMeta.summary Brief Summarystring

Brief, user defined summary or tagline for the job.

Max. length: 512

userMeta.description Long Descriptionstring

Longform, user provided description of the job.

Type QueryJobConfig (object)

QueryJobConfig

Inherits: object

Model

ParameterTypeDescription
site* Target Sitestring
Enum:
  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.TargetSite

targets* Query Targetsarray
targets[]object

Inherits: lib.QueryJobTarget

targets[].targetDisplayName*string

Blast target display name, e.g. organism name.

targets[].targetFile*string

Target blast database file.

query Blast Querystring

For Requests

Inline query definition.

This field is to be used for non-file-upload blast queries.

If this field is not set, a query file must be uploaded for the request to be valid.

For Responses

This field will be omitted.

addToUserCollection Add to Collectionboolean

Adds this job to the users collection of jobs.

The user's collection of jobs is what is returned by the /jobs endpoint.

Type QueryJobUserMeta (object)

QueryJobUserMeta

Inherits: object

Model

ParameterTypeDescription
summary Brief Summarystring

Brief, user defined summary or tagline for the job.

Max. length: 512

description Long Descriptionstring

Longform, user provided description of the job.

Type QueryJobTarget (object)

QueryJobTarget

Inherits: object

Model

ParameterTypeDescription
targetDisplayName*string

Blast target display name, e.g. organism name.

targetFile*string

Target blast database file.

Type QueryJobListEntry (object)

QueryJobListEntry

Inherits: object

Model

ParameterTypeDescription
queryJobID* Query Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

status* Job Statusstring
Enum:
  • queued
  • in-progress
  • complete
  • failed
  • expired

Inherits: lib.JobStatus

site* Target Sitestring
Enum:
  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.TargetSite

createdOn* Created Ondatetime

Job creation timestamp.

userMeta User Metadataobject

Inherits: object

userMeta.summary Brief Summarystring

Brief, user defined summary or tagline for the job.

Max. length: 512

userMeta.description Long Descriptionstring

Longform, user provided description of the job.

Type QueryJobDetails (object)

QueryJobDetails

Inherits: object

Model

ParameterTypeDescription
queryJobID* Query Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

status* Job Statusstring
Enum:
  • queued
  • in-progress
  • complete
  • failed
  • expired

Inherits: lib.JobStatus

jobConfig* Job Configobject

Job Configuration.

Inherits: object

jobConfig.site* Target Sitestring
Enum:
  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: lib.TargetSite

jobConfig.targets* Query Targetsarray
jobConfig.targets[]object

Inherits: lib.QueryJobTarget

jobConfig.targets[].targetDisplayName*string

Blast target display name, e.g. organism name.

jobConfig.targets[].targetFile*string

Target blast database file.

jobConfig.query Blast Querystring

For Requests

Inline query definition.

This field is to be used for non-file-upload blast queries.

If this field is not set, a query file must be uploaded for the request to be valid.

For Responses

This field will be omitted.

jobConfig.addToUserCollection Add to Collectionboolean

Adds this job to the users collection of jobs.

The user's collection of jobs is what is returned by the /jobs endpoint.

blastConfig* Blast Tool Configobject

Discriminator: tool

Inherits: lib.BlastQueryConfig

blastConfig.tool* Blast Toolstring

Target Blast+ query tool to execute.

Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: lib.BlastQueryTool

blastConfig.queryLocation Query Locationobject

Location on the query sequence in 1-based offsets.

Inherits: lib.BlastLocation

blastConfig.queryLocation.start*integer

Format: long

blastConfig.queryLocation.stop*integer

Format: long

blastConfig.eValue Expectation Valuestring

Expectation value (E) threshold for saving hits.

Pattern: ^\d+(?:\.\d+)?(?:[eE]-?\d+)?$

Default value: "10"

blastConfig.softMasking Soft Maskingboolean

Apply filtering locations as soft masks.

blastConfig.lowercaseMasking Lowercase Maskingboolean

Use lower case filtering in query and subject sequence(s)?

blastConfig.queryCoverageHSPPercent Query Coverage HSP Percentnumber

Percent query coverage per High Scoring Pair.

Format: double

createdOn* Created Ondatetime

Job creation timestamp.

userMeta User Metadataobject

Inherits: object

userMeta.summary Brief Summarystring

Brief, user defined summary or tagline for the job.

Max. length: 512

userMeta.description Long Descriptionstring

Longform, user provided description of the job.

subJobs Sub-Job IDsarray

List of IDs of sub-jobs that belong to this job.

subJobs[]string

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

Type JobBulkStatusResponse (object)

Bulk Job Status Response

Returns a mapping of job-id to status for each of the valid job IDs that appeared in the original bulk status request.

Additional properties: Yes

Inherits: object

Model

ParameterTypeDescription
/^[\dA-Fa-f]{32}$/*string
Enum:
  • queued
  • in-progress
  • complete
  • failed
  • expired

Inherits: lib.JobStatus

Type JobCreateResponse (object)

Job Creation Response

Response body returned on the successful creation of a new BLAST query job.

Inherits: object

Model

ParameterTypeDescription
queryJobID* Query Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

Type JobStatus (string)

JobStatus
Enum:
  • queued
  • in-progress
  • complete
  • failed
  • expired

Inherits: string

Type TargetSite (string)

TargetSite
Enum:
  • AmoebaDB
  • CryptoDB
  • FungiDB
  • GiardiaDB
  • HostDB
  • MicrosporidiaDB
  • PiroplasmaDB
  • PlasmoDB
  • ToxoDB
  • TrichDB
  • TriTrypDB
  • VectorBase
  • VEuPathDB

Inherits: string

Type BlastTargetIndex (object)

BlastTargetIndex

Additional properties: Yes

Inherits: object

Model

ParameterTypeDescription
/^\w+$/*object

Additional properties: Yes

Inherits: lib.BlastTargetMap

/^\w+$/./^\w+$/*object

Inherits: lib.BlastableTarget

/^\w+$/./^\w+$/.naTargetsarray

Default value: []

/^\w+$/./^\w+$/.naTargets[]string
/^\w+$/./^\w+$/.aaTargetsarray

Default value: []

/^\w+$/./^\w+$/.aaTargets[]string

Type BlastTargetMap (object)

BlastTargetMap

Additional properties: Yes

Inherits: object

Model

ParameterTypeDescription
/^\w+$/*object

Inherits: lib.BlastableTarget

/^\w+$/.naTargetsarray

Default value: []

/^\w+$/.naTargets[]string
/^\w+$/.aaTargetsarray

Default value: []

/^\w+$/.aaTargets[]string

Type BlastableTarget (object)

BlastableTarget

Inherits: object

Model

ParameterTypeDescription
naTargetsarray

Default value: []

naTargets[]string
aaTargetsarray

Default value: []

aaTargets[]string

Type BrokenJobListEntry (object)

BrokenJobListEntry

Inherits: object

Model

ParameterTypeDescription
queryJobID* Query Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

rawConfig*any
createdOn* Created Ondatetime

Job creation timestamp.

failedOn* Failed Ondatetime

Job failure timestamp.

Type BlastQueryConfig (object)

BlastQueryConfig

Discriminator: tool

Inherits: object

Model

ParameterTypeDescription
tool* Blast Toolstring

Target Blast+ query tool to execute.

Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: lib.BlastQueryTool

queryLocation Query Locationobject

Location on the query sequence in 1-based offsets.

Inherits: lib.BlastLocation

queryLocation.start*integer

Format: long

queryLocation.stop*integer

Format: long

eValue Expectation Valuestring

Expectation value (E) threshold for saving hits.

Pattern: ^\d+(?:\.\d+)?(?:[eE]-?\d+)?$

Default value: "10"

softMasking Soft Maskingboolean

Apply filtering locations as soft masks.

lowercaseMasking Lowercase Maskingboolean

Use lower case filtering in query and subject sequence(s)?

queryCoverageHSPPercent Query Coverage HSP Percentnumber

Percent query coverage per High Scoring Pair.

Format: double

Type BlastSeg (object)

BlastSeg

Inherits: object

Model

ParameterTypeDescription
enabled Enable SEGboolean

Whether SEG should be enabled.

window Windowinteger

SEG window.

Format: int

Default value: 12

locut Locutnumber

SEG locut.

Format: double

Default value: 2.2

hicut Hicutnumber

SEG hicut.

Format: double

Default value: 2.5

Type BlastQueryTool (string)

BlastQueryTool
Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: string

Type BlastGenCode (integer)

BlastGenCode

Translation Gen Code

Valid values are:

  • 1, 2, 3, 4, 5, 6
  • 9, 10, 11, 12, 13, 14, 15, 16
  • 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31
  • 33

This type should be an enum, however the code generated from the RAML when it is an enum is broken.

Min. value: 1

Max. value: 33

Format: int8

Inherits: integer

Type BlastLocation (object)

BlastLocation

Inherits: object

Model

ParameterTypeDescription
start*integer

Format: long

stop*integer

Format: long

Type BlastStrand (string)

BlastStrand
Enum:
  • both
  • minus
  • plus

Inherits: string

Type BlastNConfig (object)

BlastNConfig

Discriminator: tool

Discriminator value: blastn

Inherits: lib.BlastQueryConfig

Model

ParameterTypeDescription
tool* Blast Toolstring

Target Blast+ query tool to execute.

Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: lib.BlastQueryTool

queryLocation Query Locationobject

Location on the query sequence in 1-based offsets.

Inherits: lib.BlastLocation

queryLocation.start*integer

Format: long

queryLocation.stop*integer

Format: long

eValue Expectation Valuestring

Expectation value (E) threshold for saving hits.

Pattern: ^\d+(?:\.\d+)?(?:[eE]-?\d+)?$

Default value: "10"

softMasking Soft Maskingboolean

Apply filtering locations as soft masks.

lowercaseMasking Lowercase Maskingboolean

Use lower case filtering in query and subject sequence(s)?

queryCoverageHSPPercent Query Coverage HSP Percentnumber

Percent query coverage per High Scoring Pair.

Format: double

strand Strandstring

Query strand(s) to search against database/subject.

Default value: "both"

Enum:
  • both
  • minus
  • plus

Inherits: string

task Taskstring

Task to execute.

Default value: "megablast"

Enum:
  • blastn
  • blastn-short
  • dc-megablast
  • megablast
  • rmblastn

Inherits: lib.BlastNTask

wordSize Word Sizeinteger

Word size for wordfinder algorithm (length of best perfect match).

Min. value: 4

Format: int

gapOpen Gap Openinteger

Cost to open a gap.

Format: int

gapExtend Gap Extendinteger

Cost to extend a gap.

Format: int

penalty Penaltyinteger

Penalty for a nucleotide mismatch.

Format: int

reward Rewardinteger

Reward for a nucleotide match.

Format: int

useIndex Use Indexboolean

Use MegaBLAST database index.

indexName Index Namestring

MegaBLAST database index name (deprecated; use only for old style indices).

Min. length: 1

dust DUSTobject

Filter query sequence with DUST.

Default value: {"level":20,"window":64,"linker":1}

Inherits: lib.BlastNDust

dust.enabled Enable DUSTboolean

Whether DUST should be enabled.

Default value: true

dust.level Levelinteger

Score threshold for subwindows.

Format: int

Default value: 20

dust.window Windowinteger

Window length.

Format: int

Default value: 64

dust.linker Linkerinteger

How close masked intervals should be to get merged together.

Format: int

Default value: 1

dbSoftMask DB Soft Maskingstring

Filtering algorithm ID to apply to the BLAST database as soft masking

Incompatible with: dbHardMask

dbHardMask DB Hard Maskingstring

Filtering algorithm ID to apply to the BLAST database as hard masking

Incompatible with: dbSoftMask

percentIdentity Percent Identitynumber

Percent identity.

Max. value: 100

Format: double

cullingLimit Culling Limitinteger

If the query range of a hit is enveloped by that of at least this many higher-scoring hits, delete the hit

Incompatible with:

  • bestHitOverhang
  • bestHitScoreEdge

Format: int

bestHitOverhang Best Hit Overhangnumber

Best Hit algorithm overhang value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

bestHitScoreEdge Best Hit Score Edgenumber

Best Hit algorithm score edge value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

subjectBestHit Subject Best Hitboolean

Turn on best hit per subject sequence.

templateType Template Typestring

Discontiguous MegaBLAST template type.

Requires:

  • templateLength
Enum:
  • coding
  • coding-and-optimal
  • optimal

Inherits: lib.BlastNTemplateType

templateLength Template Lengthinteger

Discontiguous MegaBLAST template length.

Requires:

  • templateType

Format: int

Enum:
  • 16
  • 18
  • 21

Inherits: lib.BlastNTemplateLength

sumStats Use Sum Statsboolean

Use sum statistics.

xDropoffPrelimGapped Preliminary Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for preliminary gapped extensions.

Format: double

xDropoffFinalGapped Final Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for final gapped alignment.

Format: double

nonGreedy Non Greedy Extensionboolean

Use non-greedy dynamic programming extension.

minRawGappedScore Minimum Raw Gapped Scoreinteger

Minimum raw gapped score to keep an alignment in the preliminary gapped and traceback stages

Format: int

ungappedOnly Ungapped Alignment Onlyboolean

Perform ungapped alignment only?

offDiagonalRange Off-Diagonal Rangeinteger

Number of off-diagonals to search for the 2nd hit, use 0 to turn off.

Format: int

Type BlastNTask (string)

BlastNTask
Enum:
  • blastn
  • blastn-short
  • dc-megablast
  • megablast
  • rmblastn

Inherits: string

Type BlastNDust (object)

BlastNDust

Inherits: object

Model

ParameterTypeDescription
enabled Enable DUSTboolean

Whether DUST should be enabled.

Default value: true

level Levelinteger

Score threshold for subwindows.

Format: int

Default value: 20

window Windowinteger

Window length.

Format: int

Default value: 64

linker Linkerinteger

How close masked intervals should be to get merged together.

Format: int

Default value: 1

Type BlastNTemplateType (string)

BlastNTemplateType
Enum:
  • coding
  • coding-and-optimal
  • optimal

Inherits: string

Type BlastNTemplateLength (integer)

BlastNTemplateLength

Format: int

Enum:
  • 16
  • 18
  • 21

Inherits: integer

Type BlastPConfig (object)

BlastPConfig

Discriminator: tool

Discriminator value: blastp

Inherits: lib.BlastQueryConfig

Model

ParameterTypeDescription
tool* Blast Toolstring

Target Blast+ query tool to execute.

Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: lib.BlastQueryTool

queryLocation Query Locationobject

Location on the query sequence in 1-based offsets.

Inherits: lib.BlastLocation

queryLocation.start*integer

Format: long

queryLocation.stop*integer

Format: long

eValue Expectation Valuestring

Expectation value (E) threshold for saving hits.

Pattern: ^\d+(?:\.\d+)?(?:[eE]-?\d+)?$

Default value: "10"

softMasking Soft Maskingboolean

Apply filtering locations as soft masks.

lowercaseMasking Lowercase Maskingboolean

Use lower case filtering in query and subject sequence(s)?

queryCoverageHSPPercent Query Coverage HSP Percentnumber

Percent query coverage per High Scoring Pair.

Format: double

task Taskstring

Task to execute.

Default value: "blastp"

Enum:
  • blastp
  • blastp-fast
  • blastp-short

Inherits: lib.BlastPTask

wordSize Word Sizeinteger

Word size for wordfinder algorithm (length of best perfect match).

Min. value: 2

Format: int

gapOpen Gap Openinteger

Cost to open a gap.

Format: int

gapExtend Gap Extendinteger

Cost to extend a gap.

Format: int

matrix Scoring Matrixstring

Scoring matrix name (normally BLOSUM62)

Enum:
  • BLOSUM45
  • BLOSUM50
  • BLOSUM62
  • BLOSUM80
  • BLOSUM90
  • PAM30
  • PAM70
  • PAM250
  • IDENTITY

Inherits: lib.BlastPMatrix

threshold Minimum Word Score Thresholdnumber

Minimum word score such that the word is added to the BLAST lookup table.

Format: double

compBasedStats Composition Based Statisticsstring

Use composition-based statistics:

  • No composition-based statistics
  • Composition-based statistics as in NAR 29:2994-3005, 2001
  • Composition-based score adjustment as in Bioinformatics 21:902-911, 2005, conditioned on sequence properties
  • Composition-based score adjustment as in Bioinformatics 21:902-911, 2005, unconditionally

Default value: "comp-based-score-adjustment-conditional"

Enum:
  • none
  • comp-based-stats
  • comp-based-score-adjustment-conditional
  • comp-based-score-adjustment-unconditional

Inherits: lib.BlastPCompBasedStats

seg SEGobject

Filter query sequence with SEG.

Inherits: object

seg.enabled Enable SEGboolean

Whether SEG should be enabled.

seg.window Windowinteger

SEG window.

Format: int

Default value: 12

seg.locut Locutnumber

SEG locut.

Format: double

Default value: 2.2

seg.hicut Hicutnumber

SEG hicut.

Format: double

Default value: 2.5

dbSoftMask DB Soft Maskingstring

Filtering algorithm ID to apply to the BLAST database as soft masking

Incompatible with: dbHardMask

dbHardMask DB Hard Maskingstring

Filtering algorithm ID to apply to the BLAST database as hard masking

Incompatible with: dbSoftMask

cullingLimit Culling Limitinteger

If the query range of a hit is enveloped by that of at least this many higher-scoring hits, delete the hit

Incompatible with:

  • bestHitOverhang
  • bestHitScoreEdge

Format: int

bestHitOverhang Best Hit Overhangnumber

Best Hit algorithm overhang value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

bestHitScoreEdge Best Hit Score Edgenumber

Best Hit algorithm score edge value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

subjectBestHit Subject Best Hitboolean

Turn on best hit per subject sequence.

xDropoffPrelimGapped Preliminary Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for preliminary gapped extensions.

Format: double

xDropoffFinalGapped Final Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for final gapped alignment.

Format: double

ungappedOnly Ungapped Alignment Onlyboolean

Perform ungapped alignment only?

useSWTraceback Use Smith-Waterman Tracebackboolean

Compute locally optimal Smith-Waterman alignments?

Type BlastPCompBasedStats (string)

BlastPCompBasedStats
Enum:
  • none
  • comp-based-stats
  • comp-based-score-adjustment-conditional
  • comp-based-score-adjustment-unconditional

Inherits: string

Type BlastPMatrix (string)

BlastPMatrix
Enum:
  • BLOSUM45
  • BLOSUM50
  • BLOSUM62
  • BLOSUM80
  • BLOSUM90
  • PAM30
  • PAM70
  • PAM250
  • IDENTITY

Inherits: string

Type BlastPTask (string)

BlastPTask
Enum:
  • blastp
  • blastp-fast
  • blastp-short

Inherits: string

Type BlastXConfig (object)

BlastXConfig

Discriminator: tool

Discriminator value: blastx

Inherits: lib.BlastQueryConfig

Model

ParameterTypeDescription
tool* Blast Toolstring

Target Blast+ query tool to execute.

Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: lib.BlastQueryTool

queryLocation Query Locationobject

Location on the query sequence in 1-based offsets.

Inherits: lib.BlastLocation

queryLocation.start*integer

Format: long

queryLocation.stop*integer

Format: long

eValue Expectation Valuestring

Expectation value (E) threshold for saving hits.

Pattern: ^\d+(?:\.\d+)?(?:[eE]-?\d+)?$

Default value: "10"

softMasking Soft Maskingboolean

Apply filtering locations as soft masks.

lowercaseMasking Lowercase Maskingboolean

Use lower case filtering in query and subject sequence(s)?

queryCoverageHSPPercent Query Coverage HSP Percentnumber

Percent query coverage per High Scoring Pair.

Format: double

strand Strandstring

Query strand(s) to search against database/subject.

Default value: "both"

Enum:
  • both
  • minus
  • plus

Inherits: string

queryGenCode Translation Genetic Codeinteger

Genetic code to use to translate query (see https://www.ncbi.nlm.nih.gov/Taxonomy/taxonomyhome.html/index.cgi?chapter=cgencodes for details)

Min. value: 1

Max. value: 33

Format: int8

Default value: 1

Inherits: integer

task Taskstring

Task to execute.

Default value: "blastx"

Enum:
  • blastx
  • blastx-fast

Inherits: lib.BlastXTask

wordSize Word Sizeinteger

Word size for wordfinder algorithm (length of best perfect match).

Min. value: 2

Format: int

gapOpen Gap Openinteger

Cost to open a gap.

Format: int

gapExtend Gap Extendinteger

Cost to extend a gap.

Format: int

maxIntronLength Max Intron Lengthinteger

Length of the largest intron allowed in a translated nucleotide sequence when linking multiple distinct alignments

Format: int

matrix Scoring Matrixstring

Scoring matrix name (normally BLOSUM62)

Enum:
  • BLOSUM45
  • BLOSUM50
  • BLOSUM62
  • BLOSUM80
  • BLOSUM90
  • PAM30
  • PAM70
  • PAM250

Inherits: lib.BlastXMatrix

threshold Minimum Word Score Thresholdnumber

Minimum word score such that the word is added to the BLAST lookup table.

Format: double

compBasedStats Composition Based Statisticsstring

Use composition-based statistics:

  • No composition-based statistics
  • Composition-based statistics as in NAR 29:2994-3005, 2001
  • Composition-based score adjustment as in Bioinformatics 21:902-911, 2005, conditioned on sequence properties
  • Composition-based score adjustment as in Bioinformatics 21:902-911, 2005, unconditionally

Default value: "comp-based-score-adjustment-conditional"

Enum:
  • none
  • comp-based-stats
  • comp-based-score-adjustment-conditional
  • comp-based-score-adjustment-unconditional

Inherits: lib.BlastXCompBasedStats

seg SEGobject

Filter query sequence with SEG.

Default value: {"window":12,"locut":2.2,"hicut":2.5}

Inherits: object

seg.enabled Enable SEGboolean

Whether SEG should be enabled.

seg.window Windowinteger

SEG window.

Format: int

Default value: 12

seg.locut Locutnumber

SEG locut.

Format: double

Default value: 2.2

seg.hicut Hicutnumber

SEG hicut.

Format: double

Default value: 2.5

dbSoftMask DB Soft Maskingstring

Filtering algorithm ID to apply to the BLAST database as soft masking

Incompatible with: dbHardMask

dbHardMask DB Hard Maskingstring

Filtering algorithm ID to apply to the BLAST database as hard masking

Incompatible with: dbSoftMask

cullingLimit Culling Limitinteger

If the query range of a hit is enveloped by that of at least this many higher-scoring hits, delete the hit

Incompatible with:

  • bestHitOverhang
  • bestHitScoreEdge

Format: int

bestHitOverhang Best Hit Overhangnumber

Best Hit algorithm overhang value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

bestHitScoreEdge Best Hit Score Edgenumber

Best Hit algorithm score edge value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

subjectBestHit Subject Best Hitboolean

Turn on best hit per subject sequence.

sumStats Use Sum Statsboolean

Use sum statistics.

xDropoffPrelimGapped Preliminary Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for preliminary gapped extensions.

Format: double

xDropoffFinalGapped Final Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for final gapped alignment.

Format: double

ungappedOnly Ungapped Alignment Onlyboolean

Perform ungapped alignment only?

useSWTraceback Use Smith-Waterman Tracebackboolean

Compute locally optimal Smith-Waterman alignments?

Type BlastXTask (string)

BlastXTask
Enum:
  • blastx
  • blastx-fast

Inherits: string

Type BlastXMatrix (string)

BlastXMatrix
Enum:
  • BLOSUM45
  • BLOSUM50
  • BLOSUM62
  • BLOSUM80
  • BLOSUM90
  • PAM30
  • PAM70
  • PAM250

Inherits: string

Type BlastXCompBasedStats (string)

BlastXCompBasedStats
Enum:
  • none
  • comp-based-stats
  • comp-based-score-adjustment-conditional
  • comp-based-score-adjustment-unconditional

Inherits: string

Type DeltaBlastConfig (object)

DeltaBlastConfig

Discriminator: tool

Discriminator value: deltablast

Inherits: lib.BlastQueryConfig

Model

ParameterTypeDescription
tool* Blast Toolstring

Target Blast+ query tool to execute.

Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: lib.BlastQueryTool

queryLocation Query Locationobject

Location on the query sequence in 1-based offsets.

Inherits: lib.BlastLocation

queryLocation.start*integer

Format: long

queryLocation.stop*integer

Format: long

eValue Expectation Valuestring

Expectation value (E) threshold for saving hits.

Pattern: ^\d+(?:\.\d+)?(?:[eE]-?\d+)?$

Default value: "10"

softMasking Soft Maskingboolean

Apply filtering locations as soft masks.

lowercaseMasking Lowercase Maskingboolean

Use lower case filtering in query and subject sequence(s)?

queryCoverageHSPPercent Query Coverage HSP Percentnumber

Percent query coverage per High Scoring Pair.

Format: double

wordSize Word Sizeinteger

Word size for wordfinder algorithm (length of best perfect match).

Min. value: 2

Format: int

gapOpen Gap Openinteger

Cost to open a gap.

Format: int

gapExtend Gap Extendinteger

Cost to extend a gap.

Format: int

matrix Scoring Matrixstring

Scoring matrix name (normally BLOSUM62)

Enum:
  • BLOSUM45
  • BLOSUM50
  • BLOSUM62
  • BLOSUM80
  • BLOSUM90
  • PAM30
  • PAM70
  • PAM250

Inherits: lib.DeltaBlastMatrix

threshold Minimum Word Score Thresholdnumber

Minimum word score such that the word is added to the BLAST lookup table.

Format: double

compBasedStats Composition Based Statisticsstring

Use composition-based statistics:

  • No composition-based statistics
  • Composition-based statistics as in NAR 29:2994-3005, 2001

Default value: "comp-based-stats"

Enum:
  • none
  • comp-based-stats

Inherits: lib.DeltaBlastCompBasedStats

seg SEGobject

Filter query sequence with SEG.

Inherits: object

seg.enabled Enable SEGboolean

Whether SEG should be enabled.

seg.window Windowinteger

SEG window.

Format: int

Default value: 12

seg.locut Locutnumber

SEG locut.

Format: double

Default value: 2.2

seg.hicut Hicutnumber

SEG hicut.

Format: double

Default value: 2.5

cullingLimit Culling Limitinteger

If the query range of a hit is enveloped by that of at least this many higher-scoring hits, delete the hit

Incompatible with:

  • bestHitOverhang
  • bestHitScoreEdge

Format: int

bestHitOverhang Best Hit Overhangnumber

Best Hit algorithm overhang value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

bestHitScoreEdge Best Hit Score Edgenumber

Best Hit algorithm score edge value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

subjectBestHit Subject Best Hitboolean

Turn on best hit per subject sequence.

sumStats Use Sum Statsboolean

Use sum statistics.

xDropoffPrelimGapped Preliminary Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for preliminary gapped extensions.

Format: double

xDropoffFinalGapped Final Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for final gapped alignment.

Format: double

gapTrigger Gap Triggernumber

Number of bits to trigger gapping.

Format: double

Default value: 22

useSWTraceback Use Smith-Waterman Tracebackboolean

Compute locally optimal Smith-Waterman alignments?

Type DeltaBlastMatrix (string)

DeltaBlastMatrix
Enum:
  • BLOSUM45
  • BLOSUM50
  • BLOSUM62
  • BLOSUM80
  • BLOSUM90
  • PAM30
  • PAM70
  • PAM250

Inherits: string

Type DeltaBlastCompBasedStats (string)

DeltaBlastCompBasedStats
Enum:
  • none
  • comp-based-stats

Inherits: string

Type PSIBlastConfig (object)

PSIBlastConfig

Discriminator: tool

Discriminator value: psiblast

Inherits: lib.BlastQueryConfig

Model

ParameterTypeDescription
tool* Blast Toolstring

Target Blast+ query tool to execute.

Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: lib.BlastQueryTool

queryLocation Query Locationobject

Location on the query sequence in 1-based offsets.

Inherits: lib.BlastLocation

queryLocation.start*integer

Format: long

queryLocation.stop*integer

Format: long

eValue Expectation Valuestring

Expectation value (E) threshold for saving hits.

Pattern: ^\d+(?:\.\d+)?(?:[eE]-?\d+)?$

Default value: "10"

softMasking Soft Maskingboolean

Apply filtering locations as soft masks.

lowercaseMasking Lowercase Maskingboolean

Use lower case filtering in query and subject sequence(s)?

queryCoverageHSPPercent Query Coverage HSP Percentnumber

Percent query coverage per High Scoring Pair.

Format: double

wordSize Word Sizeinteger

Word size for wordfinder algorithm (length of best perfect match).

Min. value: 2

Format: int

gapOpen Gap Openinteger

Cost to open a gap.

Format: int

gapExtend Gap Extendinteger

Cost to extend a gap.

Format: int

matrix Scoring Matrixstring

Scoring matrix name (normally BLOSUM62)

Enum:
  • BLOSUM45
  • BLOSUM50
  • BLOSUM62
  • BLOSUM80
  • BLOSUM90
  • PAM30
  • PAM70
  • PAM250

Inherits: lib.PSIBlastMatrix

threshold Minimum Word Score Thresholdnumber

Minimum word score such that the word is added to the BLAST lookup table.

Format: double

compBasedStats Composition Based Statisticsstring

Use composition-based statistics:

  • No composition-based statistics
  • Composition-based statistics as in NAR 29:2994-3005, 2001
  • Composition-based score adjustment as in Bioinformatics 21:902-911, 2005, conditioned on sequence properties
  • Composition-based score adjustment as in Bioinformatics 21:902-911, 2005, unconditionally

Default value: "comp-based-score-adjustment-conditional"

Enum:
  • none
  • comp-based-stats
  • comp-based-score-adjustment-conditional
  • comp-based-score-adjustment-unconditional

Inherits: lib.PSIBlastCompBasedStats

seg SEGobject

Filter query sequence with SEG.

Inherits: object

seg.enabled Enable SEGboolean

Whether SEG should be enabled.

seg.window Windowinteger

SEG window.

Format: int

Default value: 12

seg.locut Locutnumber

SEG locut.

Format: double

Default value: 2.2

seg.hicut Hicutnumber

SEG hicut.

Format: double

Default value: 2.5

cullingLimit Culling Limitinteger

If the query range of a hit is enveloped by that of at least this many higher-scoring hits, delete the hit

Incompatible with:

  • bestHitOverhang
  • bestHitScoreEdge

Format: int

bestHitOverhang Best Hit Overhangnumber

Best Hit algorithm overhang value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

bestHitScoreEdge Best Hit Score Edgenumber

Best Hit algorithm score edge value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

subjectBestHit Subject Best Hitboolean

Turn on best hit per subject sequence.

sumStats Use Sum Statsboolean

Use sum statistics.

xDropoffPrelimGapped Preliminary Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for preliminary gapped extensions.

Format: double

xDropoffFinalGapped Final Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for final gapped alignment.

Format: double

gapTrigger Gap Triggernumber

Number of bits to trigger gapping.

Format: double

Default value: 22

useSWTraceback Use Smith-Waterman Tracebackboolean

Compute locally optimal Smith-Waterman alignments?

Type PSIBlastMatrix (string)

PSIBlastMatrix
Enum:
  • BLOSUM45
  • BLOSUM50
  • BLOSUM62
  • BLOSUM80
  • BLOSUM90
  • PAM30
  • PAM70
  • PAM250

Inherits: string

Type PSIBlastCompBasedStats (string)

PSIBlastCompBasedStats
Enum:
  • none
  • comp-based-stats
  • comp-based-score-adjustment-conditional
  • comp-based-score-adjustment-unconditional

Inherits: string

Type RPSBlastConfig (object)

RPSBlastConfig

Discriminator: tool

Discriminator value: rpsblast

Inherits: lib.BlastQueryConfig

Model

ParameterTypeDescription
tool* Blast Toolstring

Target Blast+ query tool to execute.

Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: lib.BlastQueryTool

queryLocation Query Locationobject

Location on the query sequence in 1-based offsets.

Inherits: lib.BlastLocation

queryLocation.start*integer

Format: long

queryLocation.stop*integer

Format: long

eValue Expectation Valuestring

Expectation value (E) threshold for saving hits.

Pattern: ^\d+(?:\.\d+)?(?:[eE]-?\d+)?$

Default value: "10"

softMasking Soft Maskingboolean

Apply filtering locations as soft masks.

lowercaseMasking Lowercase Maskingboolean

Use lower case filtering in query and subject sequence(s)?

queryCoverageHSPPercent Query Coverage HSP Percentnumber

Percent query coverage per High Scoring Pair.

Format: double

compBasedStats Composition Based Statisticsstring

Use composition-based statistics:

  • No composition-based statistics
  • Composition-based statistics as in NAR 29:2994-3005, 2001

Default value: "comp-based-stats"

Enum:
  • simplified
  • comp-based-stats

Inherits: lib.RPSBlastCompBasedStats

seg SEGobject

Filter query sequence with SEG.

Inherits: object

seg.enabled Enable SEGboolean

Whether SEG should be enabled.

seg.window Windowinteger

SEG window.

Format: int

Default value: 12

seg.locut Locutnumber

SEG locut.

Format: double

Default value: 2.2

seg.hicut Hicutnumber

SEG hicut.

Format: double

Default value: 2.5

cullingLimit Culling Limitinteger

If the query range of a hit is enveloped by that of at least this many higher-scoring hits, delete the hit

Incompatible with:

  • bestHitOverhang
  • bestHitScoreEdge

Format: int

bestHitOverhang Best Hit Overhangnumber

Best Hit algorithm overhang value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

bestHitScoreEdge Best Hit Score Edgenumber

Best Hit algorithm score edge value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

subjectBestHit Subject Best Hitboolean

Turn on best hit per subject sequence.

sumStats Use Sum Statsboolean

Use sum statistics.

xDropoffPrelimGapped Preliminary Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for preliminary gapped extensions.

Format: double

xDropoffFinalGapped Final Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for final gapped alignment.

Format: double

useSWTraceback Use Smith-Waterman Tracebackboolean

Compute locally optimal Smith-Waterman alignments?

Type RPSBlastCompBasedStats (string)

RPSBlastCompBasedStats
Enum:
  • simplified
  • comp-based-stats

Inherits: string

Type RPSTBlastNConfig (object)

RPSTBlastNConfig

Discriminator: tool

Discriminator value: rpstblastn

Inherits: lib.BlastQueryConfig

Model

ParameterTypeDescription
tool* Blast Toolstring

Target Blast+ query tool to execute.

Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: lib.BlastQueryTool

queryLocation Query Locationobject

Location on the query sequence in 1-based offsets.

Inherits: lib.BlastLocation

queryLocation.start*integer

Format: long

queryLocation.stop*integer

Format: long

eValue Expectation Valuestring

Expectation value (E) threshold for saving hits.

Pattern: ^\d+(?:\.\d+)?(?:[eE]-?\d+)?$

Default value: "10"

softMasking Soft Maskingboolean

Apply filtering locations as soft masks.

lowercaseMasking Lowercase Maskingboolean

Use lower case filtering in query and subject sequence(s)?

queryCoverageHSPPercent Query Coverage HSP Percentnumber

Percent query coverage per High Scoring Pair.

Format: double

queryGenCode Translation Genetic Codeinteger

Genetic code to use to translate query (see https://www.ncbi.nlm.nih.gov/Taxonomy/taxonomyhome.html/index.cgi?chapter=cgencodes for details)

Min. value: 1

Max. value: 33

Format: int8

Default value: 1

Inherits: integer

strand Strandstring

Query strand(s) to search against database/subject.

Default value: "both"

Enum:
  • both
  • minus
  • plus

Inherits: string

compBasedStats Composition Based Statisticsstring

Use composition-based statistics:

  • No composition-based statistics
  • Composition-based statistics as in NAR 29:2994-3005, 2001

Default value: "comp-based-stats"

Enum:
  • none
  • comp-based-stats

Inherits: lib.RPSTBlastNCompBasedStats

seg SEGobject

Filter query sequence with SEG.

Inherits: object

seg.enabled Enable SEGboolean

Whether SEG should be enabled.

seg.window Windowinteger

SEG window.

Format: int

Default value: 12

seg.locut Locutnumber

SEG locut.

Format: double

Default value: 2.2

seg.hicut Hicutnumber

SEG hicut.

Format: double

Default value: 2.5

sumStats Use Sum Statsboolean

Use sum statistics.

xDropoffPrelimGapped Preliminary Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for preliminary gapped extensions.

Format: double

xDropoffFinalGapped Final Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for final gapped alignment.

Format: double

ungappedOnly Ungapped Alignment Onlyboolean

Perform ungapped alignment only?

useSWTraceback Use Smith-Waterman Tracebackboolean

Compute locally optimal Smith-Waterman alignments?

Type RPSTBlastNCompBasedStats (string)

RPSTBlastNCompBasedStats
Enum:
  • none
  • comp-based-stats

Inherits: string

Type TBlastNConfig (object)

TBlastNConfig

Discriminator: tool

Discriminator value: tblastn

Inherits: lib.BlastQueryConfig

Model

ParameterTypeDescription
tool* Blast Toolstring

Target Blast+ query tool to execute.

Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: lib.BlastQueryTool

queryLocation Query Locationobject

Location on the query sequence in 1-based offsets.

Inherits: lib.BlastLocation

queryLocation.start*integer

Format: long

queryLocation.stop*integer

Format: long

eValue Expectation Valuestring

Expectation value (E) threshold for saving hits.

Pattern: ^\d+(?:\.\d+)?(?:[eE]-?\d+)?$

Default value: "10"

softMasking Soft Maskingboolean

Apply filtering locations as soft masks.

lowercaseMasking Lowercase Maskingboolean

Use lower case filtering in query and subject sequence(s)?

queryCoverageHSPPercent Query Coverage HSP Percentnumber

Percent query coverage per High Scoring Pair.

Format: double

task Taskstring

Task to execute.

Default value: "tblastn"

Enum:
  • tblastn
  • tblastn-fast

Inherits: lib.TBlastNTask

wordSize Word Sizeinteger

Word size for wordfinder algorithm (length of best perfect match).

Min. value: 2

Format: int

gapOpen Gap Openinteger

Cost to open a gap.

Format: int

gapExtend Gap Extendinteger

Cost to extend a gap.

Format: int

dbGenCode Translation Genetic Codeinteger

Genetic code to use to translate database/subjects (see https://www.ncbi.nlm.nih.gov/Taxonomy/taxonomyhome.html/index.cgi?chapter=cgencodes for details)

Min. value: 1

Max. value: 33

Format: int8

Default value: 1

Inherits: integer

maxIntronLength Max Intron Lengthinteger

Length of the largest intron allowed in a translated nucleotide sequence when linking multiple distinct alignments

Format: int

matrix Scoring Matrixstring

Scoring matrix name (normally BLOSUM62)

Enum:
  • BLOSUM45
  • BLOSUM50
  • BLOSUM62
  • BLOSUM80
  • BLOSUM90
  • PAM30
  • PAM70
  • PAM250
  • IDENTITY

Inherits: lib.TBlastNMatrix

threshold Minimum Word Score Thresholdnumber

Minimum word score such that the word is added to the BLAST lookup table.

Format: double

compBasedStats Composition Based Statisticsstring

Use composition-based statistics:

  • No composition-based statistics
  • Composition-based statistics as in NAR 29:2994-3005, 2001
  • Composition-based score adjustment as in Bioinformatics 21:902-911, 2005, conditioned on sequence properties
  • Composition-based score adjustment as in Bioinformatics 21:902-911, 2005, unconditionally

Default value: "comp-based-score-adjustment-conditional"

Enum:
  • none
  • comp-based-stats
  • comp-based-score-adjustment-conditional
  • comp-based-score-adjustment-unconditional

Inherits: lib.TBlastNCompBasedStats

seg SEGobject

Filter query sequence with SEG.

Default value: {"window":12,"locut":2.2,"hicut":2.5}

Inherits: object

seg.enabled Enable SEGboolean

Whether SEG should be enabled.

seg.window Windowinteger

SEG window.

Format: int

Default value: 12

seg.locut Locutnumber

SEG locut.

Format: double

Default value: 2.2

seg.hicut Hicutnumber

SEG hicut.

Format: double

Default value: 2.5

dbSoftMask DB Soft Maskingstring

Filtering algorithm ID to apply to the BLAST database as soft masking

Incompatible with: dbHardMask

dbHardMask DB Hard Maskingstring

Filtering algorithm ID to apply to the BLAST database as hard masking

Incompatible with: dbSoftMask

cullingLimit Culling Limitinteger

If the query range of a hit is enveloped by that of at least this many higher-scoring hits, delete the hit

Incompatible with:

  • bestHitOverhang
  • bestHitScoreEdge

Format: int

bestHitOverhang Best Hit Overhangnumber

Best Hit algorithm overhang value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

bestHitScoreEdge Best Hit Score Edgenumber

Best Hit algorithm score edge value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

subjectBestHit Subject Best Hitboolean

Turn on best hit per subject sequence.

sumStats Use Sum Statsboolean

Use sum statistics.

xDropoffPrelimGapped Preliminary Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for preliminary gapped extensions.

Format: double

xDropoffFinalGapped Final Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for final gapped alignment.

Format: double

ungappedOnly Ungapped Alignment Onlyboolean

Perform ungapped alignment only?

useSWTraceback Use Smith-Waterman Tracebackboolean

Compute locally optimal Smith-Waterman alignments?

Type TBlastNMatrix (string)

TBlastNMatrix
Enum:
  • BLOSUM45
  • BLOSUM50
  • BLOSUM62
  • BLOSUM80
  • BLOSUM90
  • PAM30
  • PAM70
  • PAM250
  • IDENTITY

Inherits: string

Type TBlastNTask (string)

TBlastNTask
Enum:
  • tblastn
  • tblastn-fast

Inherits: string

Type TBlastNCompBasedStats (string)

TBlastNCompBasedStats
Enum:
  • none
  • comp-based-stats
  • comp-based-score-adjustment-conditional
  • comp-based-score-adjustment-unconditional

Inherits: string

Type TBlastXConfig (object)

TBlastXConfig

Discriminator: tool

Discriminator value: tblastx

Inherits: lib.BlastQueryConfig

Model

ParameterTypeDescription
tool* Blast Toolstring

Target Blast+ query tool to execute.

Enum:
  • blastn
  • blastp
  • blastx
  • deltablast
  • psiblast
  • rpsblast
  • rpstblastn
  • tblastn
  • tblastx

Inherits: lib.BlastQueryTool

queryLocation Query Locationobject

Location on the query sequence in 1-based offsets.

Inherits: lib.BlastLocation

queryLocation.start*integer

Format: long

queryLocation.stop*integer

Format: long

eValue Expectation Valuestring

Expectation value (E) threshold for saving hits.

Pattern: ^\d+(?:\.\d+)?(?:[eE]-?\d+)?$

Default value: "10"

softMasking Soft Maskingboolean

Apply filtering locations as soft masks.

lowercaseMasking Lowercase Maskingboolean

Use lower case filtering in query and subject sequence(s)?

queryCoverageHSPPercent Query Coverage HSP Percentnumber

Percent query coverage per High Scoring Pair.

Format: double

strand Strandstring

Query strand(s) to search against database/subject.

Default value: "both"

Enum:
  • both
  • minus
  • plus

Inherits: string

queryGenCode Translation Genetic Codeinteger

Genetic code to use to translate query (see https://www.ncbi.nlm.nih.gov/Taxonomy/taxonomyhome.html/index.cgi?chapter=cgencodes for details)

Min. value: 1

Max. value: 33

Format: int8

Default value: 1

Inherits: integer

wordSize Word Sizeinteger

Word size for wordfinder algorithm (length of best perfect match).

Min. value: 2

Format: int

maxIntronLength Max Intron Lengthinteger

Length of the largest intron allowed in a translated nucleotide sequence when linking multiple distinct alignments

Format: int

matrix Scoring Matrixstring

Scoring matrix name (normally BLOSUM62)

Enum:
  • BLOSUM45
  • BLOSUM50
  • BLOSUM62
  • BLOSUM80
  • BLOSUM90
  • PAM30
  • PAM70
  • PAM250

Inherits: lib.TBlastXMatrix

threshold Minimum Word Score Thresholdnumber

Minimum word score such that the word is added to the BLAST lookup table.

Format: double

dbGenCode Translation Genetic Codeinteger

Genetic code to use to translate database/subjects (see https://www.ncbi.nlm.nih.gov/Taxonomy/taxonomyhome.html/index.cgi?chapter=cgencodes for details)

Min. value: 1

Max. value: 33

Format: int8

Default value: 1

Inherits: integer

seg SEGobject

Filter query sequence with SEG.

Default value: {"window":12,"locut":2.2,"hicut":2.5}

Inherits: object

seg.enabled Enable SEGboolean

Whether SEG should be enabled.

seg.window Windowinteger

SEG window.

Format: int

Default value: 12

seg.locut Locutnumber

SEG locut.

Format: double

Default value: 2.2

seg.hicut Hicutnumber

SEG hicut.

Format: double

Default value: 2.5

dbSoftMask DB Soft Maskingstring

Filtering algorithm ID to apply to the BLAST database as soft masking

Incompatible with: dbHardMask

dbHardMask DB Hard Maskingstring

Filtering algorithm ID to apply to the BLAST database as hard masking

Incompatible with: dbSoftMask

cullingLimit Culling Limitinteger

If the query range of a hit is enveloped by that of at least this many higher-scoring hits, delete the hit

Incompatible with:

  • bestHitOverhang
  • bestHitScoreEdge

Format: int

bestHitOverhang Best Hit Overhangnumber

Best Hit algorithm overhang value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

bestHitScoreEdge Best Hit Score Edgenumber

Best Hit algorithm score edge value (recommended value: 0.1)

Incompatible with:

  • cullingLimit

Min. value: 1e-15

Max. value: 0.499999999999999

Format: double

subjectBestHit Subject Best Hitboolean

Turn on best hit per subject sequence.

sumStats Use Sum Statsboolean

Use sum statistics.

xDropoffPrelimGapped Preliminary Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for preliminary gapped extensions.

Format: double

xDropoffFinalGapped Final Gapped Extension X-Dropoffnumber

X-dropoff value (in bits) for final gapped alignment.

Format: double

Type TBlastXMatrix (string)

TBlastXMatrix
Enum:
  • BLOSUM45
  • BLOSUM50
  • BLOSUM62
  • BLOSUM80
  • BLOSUM90
  • PAM30
  • PAM70
  • PAM250

Inherits: string

Type Error (object)

Error

Discriminator: status

Inherits: object

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Type ErrorType (string)

ErrorType
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: string

Type BadRequestError (object)

Bad Request

Request could not be parsed or was otherwise unusable.

Discriminator: status

Discriminator value: bad-request

Inherits: error.Error

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Examples

{
  "status": "bad-request",
  "message": "malformed JSON"
}

Type UnauthorizedError (object)

Unauthorized

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Examples

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

Type ForbiddenError (object)

Forbidden

Server understood the request but is refusing it.

Could be caused by incorrect instructions or an authenticated client requesting a resource or action that requires permissions that the client does not have assigned.

Discriminator: status

Discriminator value: forbidden

Inherits: error.Error

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Examples

{
  "status": "forbidden",
  "message": "the current user is not permitted to perform this action"
}

Type NotFoundError (object)

Not Found

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Examples

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

Type MethodNotAllowedError (object)

Method Not Allowed

The HTTP method used to request a resource is not allowed or configured by the server.

Discriminator: status

Discriminator value: bad-method

Inherits: error.Error

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Examples

{
  "status": "bad-method",
  "message": "PUT requests are not permitted on this endpoint"
}

Type ConflictError (string)

Conflict

The request could not be completed due to a conflict with the current state of the resource.

If you submitted a resource, that resource may already exist.

Inherits: string

Type GoneError (string)

Gone

The request could not be completed due to the requested resource or its underlying data no longer being present on the server.

Inherits: string

Type UnprocessableEntityError (object)

Unprocessable Entity

The request payload or parameters are correctly structured but fail resource specific validation.

Discriminator: status

Discriminator value: invalid-input

Inherits: error.Error

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
errors*object

Additional properties: Yes

errors.general*array

Non-field specific errors.

errors.general[]string
errors.byKey*object

Field specific errors

Additional properties: Yes

errors.byKey.//*array
errors.byKey.//[]string

Examples

{
  "status": "invalid-input",
  "message": "JSON validation failed",
  "errors": {
    "general": [],
    "byKey": {
      "id": [
        "Given ID value does not point to an existing record."
      ]
    }
  }
}

Type ServerError (object)

Internal Server Error

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Examples

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

Type HealthResponse (object)

HealthResponse

Health details about the service

Inherits: object

Model

ParameterTypeDescription
status*string

Status describes the overall service state. A status of "healthy" indicates that everything is running smoothly and all service dependencies are reachable and online. A status of "unhealthy" indicates that something is wrong with either this service or one or more of it's dependency services.

Enum:
  • healthy
  • unhealthy
dependencies*array

A list of external services that this service depends on and some details about them.

dependencies[]object

Inherits: DependencyStatus

dependencies[].name*string

Name of the external depdendency.

dependencies[].reachable*boolean

Whether or not the external service is reachable.

dependencies[].online*string

Whether or not the external service is online and available for requests.

Enum:
  • yes
  • unknown
  • no
info*object

Additional properties: Yes

info.threads*integer

Min. value: 1

info.uptime*string
info.uptimeMillis*integer

Min. value: 1

Format: int64

Type DependencyStatus (object)

DependencyStatus

Inherits: object

Model

ParameterTypeDescription
name*string

Name of the external depdendency.

reachable*boolean

Whether or not the external service is reachable.

online*string

Whether or not the external service is online and available for requests.

Enum:
  • yes
  • unknown
  • no