Class: V1::DataTypeResource

Inherits:
JSONAPI::Resource
  • Object
show all
Defined in:
app/resources/v1/data_type_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/data_types endpoint.

Provides a JSON:API representation of DataType and exposes valid data type options for use by the UI.

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

#created_atString

Returns the timestamp when the data type was created.

Returns:

  • (String)

    the timestamp when the data type was created



25
# File 'app/resources/v1/data_type_resource.rb', line 25

attributes :name, :pipeline, :created_at, :updated_at

#nameString

Returns the name of the data type.

Returns:

  • (String)

    the name of the data type



25
# File 'app/resources/v1/data_type_resource.rb', line 25

attributes :name, :pipeline, :created_at, :updated_at

#pipelineString

Returns the pipeline associated with the data type.

Returns:

  • (String)

    the pipeline associated with the data type



25
# File 'app/resources/v1/data_type_resource.rb', line 25

attributes :name, :pipeline, :created_at, :updated_at

#updated_atString

Returns the timestamp when the data type was last updated.

Returns:

  • (String)

    the timestamp when the data type was last updated



25
# File 'app/resources/v1/data_type_resource.rb', line 25

attributes :name, :pipeline, :created_at, :updated_at