{ "opencollection": "1.0.0", "info": { "name": "Benchling AA Sequences DNA Oligos API", "version": "2.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/api/v2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "DNA Oligos", "type": "folder" }, "items": [ { "info": { "name": "List custom notations", "type": "http" }, "http": { "method": "GET", "url": "/api/v2/custom-notations", "params": [ { "name": "pageSize", "value": "", "type": "query", "description": "Number of results to return. Defaults to 50, maximum of 100.\n" }, { "name": "nextToken", "value": "", "type": "query", "description": "Token for pagination" } ] }, "docs": "List all available custom notations for specifying modified nucleotide sequences" }, { "info": { "name": "List DNA Oligos", "type": "http" }, "http": { "method": "GET", "url": "/api/v2/dna-oligos", "params": [ { "name": "pageSize", "value": "", "type": "query", "description": "Number of results to return. Defaults to 50, maximum of 100.\n" }, { "name": "nextToken", "value": "", "type": "query", "description": "Token for pagination" }, { "name": "sort", "value": "", "type": "query" }, { "name": "createdAt", "value": "", "type": "query", "description": "Datetime, in RFC 3339 format. Supports the > and < operators. Time zone defaults to UTC. Restricts results to those created in the specified range. e.g. > 2017-04-30. Date ranges can be specified with the following nomenclature > YYYY-MM-DD AND and < operators. Time zone defaults to UTC. Restricts results to those modified in the specified range. e.g. > 2017-04-30. Date ranges can be specified with the following nomenclature > YYYY-MM-DD AND = and <= operators (but not < or >). If any schemaField filters are present, the schemaId param must also be present. Note that all operators must be separated from any values by a single space.\n" }, { "name": "archiveReason", "value": "", "type": "query", "description": "Archive reason. Restricts items to those with the specified archive reason. Use \"NOT_ARCHIVED\" to filter for unarchived DNA Oligos. Use \"ANY_ARCHIVED\" to filter for archived DNA Oligos regardless of reason. Use \"ANY_ARCHIVED_OR_NOT_ARCHIVED\" to return items for both archived and unarchived.\n" }, { "name": "mentions", "value": "", "type": "query", "description": "Comma-separated list of item IDs. Restricts results to those that mention the given items in the description.\n" }, { "name": "ids", "value": "", "type": "query", "description": "Comma-separated list of ids. Matches all of the provided IDs, or returns a 400 error that includes a list of which IDs are invalid.\n" }, { "name": "entityRegistryIds.anyOf", "value": "", "type": "query", "description": "Comma-separated list of entity registry IDs. Maximum of 100. Restricts results to those that match any of the specified registry IDs.\n" }, { "name": "names.anyOf", "value": "", "type": "query", "description": "Comma-separated list of names. Maximum of 100. Restricts results to those that match any of the specified names, aliases, or entity registry IDs, case insensitive. Warning - this filter can be non-performant due to case insensitivity.\n" }, { "name": "names.anyOf.caseSensitive", "value": "", "type": "query", "description": "Comma-separated list of names. Maximum of 100. Restricts results to those that match any of the specified names, aliases, or entity registry IDs, case sensitive.\n" }, { "name": "creatorIds", "value": "", "type": "query", "description": "Comma separated list of users IDs" }, { "name": "authorIds.anyOf", "value": "", "type": "query", "description": "Comma separated list of user or app IDs. Maximum of 100." }, { "name": "returning", "value": "", "type": "query", "description": "Comma-separated list of fields to return. Modifies the output shape. To return all keys at a given level, enumerate them or use the wildcard, '*'. For more information, [click here](https://docs.benchling.com/docs/getting-started-1#returning-query-parameter)." }, { "name": "customNotationId", "value": "", "type": "query", "description": "ID of the notation to use in populating the customNotation field." } ] }, "docs": "List DNA Oligos" }, { "info": { "name": "Create a DNA Oligo", "type": "http" }, "http": { "method": "POST", "url": "/api/v2/dna-oligos", "body": { "type": "json", "data": "{}" } }, "docs": "Create a DNA Oligo" }, { "info": { "name": "Create or update a registered DNA oligo", "type": "http" }, "http": { "method": "PATCH", "url": "/api/v2/dna-oligos/:entity_registry_id:upsert", "params": [ { "name": "entity_registry_id", "value": "entity_registry_id_001", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create or update a registered DNA oligo.\n\nSchema field links can be populated using entity registry IDs or API IDs. In the `value` field of the [Field](#/components/schemas/FieldWithResolution) resource, the object `{\"entityRegistryId\": ENTITY_REGISTRY_ID}` may be provided instead of the API ID if desired (see example value).\n" }, { "info": { "name": "Get a DNA Oligo", "type": "http" }, "http": { "method": "GET", "url": "/api/v2/dna-oligos/:oligo_id", "params": [ { "name": "oligo_id", "value": "", "type": "path" }, { "name": "customNotationId", "value": "", "type": "query", "description": "ID of the notation to use in populating the customNotation field." } ] }, "docs": "Get a DNA Oligo" }, { "info": { "name": "Update a DNA Oligo", "type": "http" }, "http": { "method": "PATCH", "url": "/api/v2/dna-oligos/:oligo_id", "params": [ { "name": "oligo_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a DNA Oligo" }, { "info": { "name": "Archive DNA Oligos", "type": "http" }, "http": { "method": "POST", "url": "/api/v2/dna-oligos:archive", "body": { "type": "json", "data": "{}" } }, "docs": "Archive DNA Oligos" }, { "info": { "name": "Bulk Create DNA Oligos", "type": "http" }, "http": { "method": "POST", "url": "/api/v2/dna-oligos:bulk-create", "body": { "type": "json", "data": "{}" } }, "docs": "Bulk Create DNA Oligos. Limit of 1000 DNA Oligos per request." }, { "info": { "name": "Bulk Update DNA Oligos", "type": "http" }, "http": { "method": "POST", "url": "/api/v2/dna-oligos:bulk-update", "body": { "type": "json", "data": "{}" } }, "docs": "Bulk Update DNA Oligos" }, { "info": { "name": "Bulk upsert DNA oligos", "type": "http" }, "http": { "method": "POST", "url": "/api/v2/dna-oligos:bulk-upsert", "params": [ { "name": "returning", "value": "", "type": "query", "description": "Comma-separated list of fields to return. Modifies the output shape. To return all keys at a given level, enumerate them or use the wildcard, '*'. For more information, [click here](https://docs.benchling.com/docs/getting-started-1#returning-query-parameter).\n" } ], "body": { "type": "json", "data": "{}" } }, "docs": "All entities and their schemas must be within the same registry.\n\nThis operation performs the following actions:\n1. Any existing objects are looked up in Benchling by the provided entity registry ID.\n2. Then, all objects are either created or updated accordingly, temporarily skipping any schema field links between objects.\n3. Schema field links can be populated using entity registry IDs or API IDs. In the `value` field of the [Field](#/components/schemas/FieldWithResolution) resource, the object" }, { "info": { "name": "Unarchive DNA Oligos", "type": "http" }, "http": { "method": "POST", "url": "/api/v2/dna-oligos:unarchive", "body": { "type": "json", "data": "{}" } }, "docs": "Unarchive DNA Oligos" } ] } ], "bundled": true }