SkillAssignment
Resource: SkillAssignment — CRUD endpoints
Assigns a skill to a user, recording their proficiency. A user can hold each skill at most once. When a skill is removed from a user the assignment is archived (status set to 0) rather than deleted, so the history is preserved.
List SkillAssignment (find where)
Find a list of SkillAssignment records that match the specified criteria.
Tip: All query parameters accept multiple values for array filtering — e.g. ?id=1&id=2 or ?id[]=1&id[]=2. This also works within the where parameter: ?where={"id":[1,2,3]}.
Note: The per-attribute filter parameters and the where parameter are mutually exclusive. If where is supplied, the per-attribute filters are ignored — put all filter criteria inside where instead. limit, skip, sort, and populate are unaffected.
query Parameters
whereA JSON-encoded Waterline criteria for advanced filtering. This allows you to take advantage of contains, startsWith, and other sub-attribute criteria modifiers for more powerful find() queries.
Note: If where is supplied, the per-attribute filter query parameters are ignored — where is the entire criteria. (limit, skip, sort, and populate are unaffected.) To combine filters, put them all inside where.
e.g. ?where={"status":1}
limitThe maximum number of records to send back (useful for pagination). Defaults to 30.
skipThe number of records to skip (useful for pagination).
sortThe sort order. By default, returned records are sorted by primary key value in ascending order.
e.g. ?sort=lastName%20ASC
List SkillAssignment (find where) › Responses
Responds with a paged list of SkillAssignment records that match the specified criteria
Create SkillAssignment
Create a new SkillAssignment record.
Create SkillAssignment › Request Body
Assigns a skill to a user, recording their proficiency. A user can hold each skill at most once. When a skill is removed from a user the assignment is archived (status set to 0) rather than deleted, so the history is preserved.
Create SkillAssignment › Responses
Responds with a JSON dictionary representing the newly created SkillAssignment instance
Assigns a skill to a user, recording their proficiency. A user can hold each skill at most once. When a skill is removed from a user the assignment is archived (status set to 0) rather than deleted, so the history is preserved.
Get SkillAssignment (find one)
Look up the SkillAssignment record with the specified ID.
path Parameters
idThe desired SkillAssignment record's primary key value
Get SkillAssignment (find one) › Responses
Responds with a single SkillAssignment record as a JSON dictionary
Assigns a skill to a user, recording their proficiency. A user can hold each skill at most once. When a skill is removed from a user the assignment is archived (status set to 0) rather than deleted, so the history is preserved.
Update SkillAssignment
Partially update an existing SkillAssignment record. Despite using PUT, this endpoint applies PATCH semantics — only the fields included in the request body are modified; omitted fields are left unchanged.
path Parameters
idThe desired SkillAssignment record's primary key value
Update SkillAssignment › Request Body
Assigns a skill to a user, recording their proficiency. A user can hold each skill at most once. When a skill is removed from a user the assignment is archived (status set to 0) rather than deleted, so the history is preserved.
Update SkillAssignment › Responses
Responds with the newly updated SkillAssignment record as a JSON dictionary
Assigns a skill to a user, recording their proficiency. A user can hold each skill at most once. When a skill is removed from a user the assignment is archived (status set to 0) rather than deleted, so the history is preserved.