Create subject
Create a new subject. If you are creating a new subject as the child of another subject AND any of its ancestors has isPublished=false, then you must create your new subject with isPublished=false.
Request body
A description of the subject. A lens may choose to display this information to the user.
The email address where a user can go to get more help about the subject. A lens may choose to display this information to the user e.g. if the user clicks a “help” icon attached to the subject.
The url where a user can go to get more help about the subject. A lens may choose to display this information to the user e.g. if the user clicks a “help” icon attached to the subject.
Optional icon to represent the subject.
Default false. When set to true, the subject is readable by other users; when set to false, the subject is only readable by its owner. You can only unpublish a subject if it has no subject children of its own or if all its descendants are unpublished.
Max 60 characters; case insensitive; allows alpha-numeric characters, underscore (_) and dash (-).
The sortBy string can be used to define the sort order of subjects which a lens developer can choose to honor when rendering the data. The attribute is defaulted to an empty string when the user does not provide any string value. Max 254 characters; case insensitive; allows alpha-numeric characters, + underscore () and dash (-). Filter by sortBy; asterisk (*) wildcards ok. Max 254 characters; case insensitive; allows alpha-numeric characters, underscore () and dash (-).
The id of the subject's parent.
Array of tag names. Tag name: Max 60 characters; case insensitive; allows alpha-numeric characters, underscore (_) and dash (-). Tag names cannot start with a dash (-).
If the subject has a physical location, specify its longitude and latitude in this two-element array, e.g. [-122.431297, 37.773972]. The first element in the array represents longitude; the second element represents latitude.
The name of the user to assign as the owner. Defaults to the user that created it
Response
Created.
The absolute path of the subject. This is automatically set based on the name and hierarchy.
A description of the subject. A lens may choose to display this information to the user.
The email address where a user can go to get more help about the subject. A lens may choose to display this information to the user e.g. if the user clicks a “help” icon attached to the subject.
The url where a user can go to get more help about the subject. A lens may choose to display this information to the user e.g. if the user clicks a “help” icon attached to the subject.
Optional icon to represent the subject.
Default false. When set to true, the subject is readable by other users; when set to false, the subject is only readable by its owner.
Max 60 characters; case insensitive; allows alpha-numeric characters, underscore (_) and dash (-).
The sortBy string can be used to define the sort order of subjects which a lens developer can choose to honor when rendering the data. The attribute is defaulted to an empty string when the user does not provide any string value. Max 254 characters; case insensitive; allows alpha-numeric characters, + underscore () and dash (-). Filter by sortBy; asterisk (*) wildcards ok. Max 254 characters; case insensitive; allows alpha-numeric characters, underscore () and dash (-).
The id of the subject's parent, empty if this subject is at the root of the hierarchy.
The absolute path of the subject's parent, empty if this subject is at the root of the hierarchy.
Id of the User who created this Aspect.
TODO
TODO
Array of tag names. Tag name: Max 60 characters; case insensitive; allows alpha-numeric characters, underscore (_) and dash (-). Tag names cannot start with a dash (-).
TODO
The depth of the subject starting from the root. The root always has a hierarchy level of 1