A component of a Object being used as the input to a CodeRun or produced as an output from a CodeRun.

Writable Fields:

object: The API URL of the Object to associate this ObjectComponent with

name: Name of the ObjectComponent, unique in the context of ObjectComponent and its Object reference

description (optional): Free text description of the ObjectComponent

issues (optional): List of Issues URLs to associate with this ObjectComponent

whole_object (optional): Specifies if this ObjectComponent refers to the whole object or not (by default this is False)

Read-only Fields:

url: Reference to the instance of the ObjectComponent, final integer is the ObjectComponent id

last_updated: Datetime that this record was last updated

updated_by: Reference to the user that updated this record

input_of: List of CodeRun that the ObjectComponent is being used as an input to

output_of: List of CodeRun that the ObjectComponent was created as an output of

GET /api/object_component/?format=api&ordering=-whole_object
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 0,
    "next": null,
    "previous": null,
    "results": []
}