Class: V1::TagResource

Inherits:
JSONAPI::Resource
  • Object
show all
Defined in:
app/resources/v1/tag_resource.rb

Overview

TODO:

This documentation does not yet include a detailed description of what this resource represents.

TODO:

This documentation does not yet include detailed descriptions for relationships, attributes and filters.

TODO:

This documentation does not yet include any example usage of the API via cURL or similar.

Note:

Access this resource via the /v1/tags endpoint.

Provides a JSON:API representation of Tag.

For more information about JSON:API see the JSON:API Specifications or look at the JSONAPI::Resources package for the service implementation of the JSON:API standard.

Instance Attribute Summary collapse

Instance Attribute Details

#group_idInteger

Returns the ID of the group.

Returns:

  • (Integer)

    the ID of the group



22
# File 'app/resources/v1/tag_resource.rb', line 22

attributes :oligo, :group_id, :tag_set_id

#oligoString

Returns the oligo sequence.

Returns:

  • (String)

    the oligo sequence



22
# File 'app/resources/v1/tag_resource.rb', line 22

attributes :oligo, :group_id, :tag_set_id

#tag_set_idInteger

Returns the ID of the tag set.

Returns:

  • (Integer)

    the ID of the tag set



22
# File 'app/resources/v1/tag_resource.rb', line 22

attributes :oligo, :group_id, :tag_set_id