Class: V1::Pacbio::TagSetResource
- Inherits:
-
TagSetResource
- Object
- JSONAPI::Resource
- TagSetResource
- V1::Pacbio::TagSetResource
- Defined in:
- app/resources/v1/pacbio/tag_set_resource.rb
Overview
Access this resource via the /v1/pacbio/tag_sets/ endpoint.
Tag sets should not be destroy via the API; use the active attribute to
Provides a JSON:API representation of TagSet.
Filters: * pipeline - pipeline name (default: pacbio) * name - tag set name
curl -X POST localhost:3100/v1/pacbio/tag_sets \ -H “Content-Type: application/vnd.api+json” \ -H “Accept: application/vnd.api+json” \ -d ‘{ “data”: { “type”: “tag_sets”, “attributes”: { “name”: “New Tag Set”, “description”: “A description of the new tag set” } } }’
deactivate tag sets instead. This is a soft delete; the record will be marked as inactive but not removed from the database. The current way of creating tag sets is internally this should be disabled.
Instance Attribute Summary
Attributes inherited from TagSetResource
Class Method Summary collapse
-
.create_model ⇒ Object
Ensure that any tag sets created via this endpoint are scoped to the pacbio pipeline.
Methods inherited from TagSetResource
Class Method Details
.create_model ⇒ Object
Ensure that any tag sets created via this endpoint are scoped to the pacbio pipeline
43 44 45 |
# File 'app/resources/v1/pacbio/tag_set_resource.rb', line 43 def self.create_model _model_class.pacbio_pipeline.new end |