Class: Api::V2::FragmentResource

Inherits:
JSONAPI::Resource
  • Object
show all
Defined in:
app/resources/api/v2/fragment_resource.rb

Overview

TODO:

There is no access to this resource. To add access, you would need to add a route to the routes.rb file and create a controller for it. Or if this resource is not to be used, can it be deprecated? See Y25-236.

For more information about JSON:API, see the JSON:API Specifications or refer to the JSONAPI::Resources package for Sequencescape's implementation.

Instance Attribute Summary collapse

Instance Attribute Details

#uuidString (readonly)

This identifier is automatically assigned upon creation and cannot be modified.

Returns:

  • (String)

    The universally unique identifier (UUID) for this fragment.



20
# File 'app/resources/api/v2/fragment_resource.rb', line 20

attribute :uuid, readonly: true