About this endpoint
What it does
Retrieves a paginated skills database result set, optionally filtered by skill name and optionally including related skills. The response returns a JSON object with data, links, and meta.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | String | No | Filters results by skill name. |
| per_page | String | No | Controls the number of items returned per page. |
| include_related | String | No | Controls whether related skills are included in each skill record. |
Response
Returns a JSON object with three top-level fields: data is an array of skill objects, links is an object with pagination URLs, and meta is an object with pagination metadata.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object Array | Yes | Array of skill objects. Each item contains id, name, slug, and related_skills. |
| data[].id | String | Yes | Skill identifier. |
| data[].name | String | Yes | Skill name. |
| data[].slug | String | Yes | Skill slug. |
| data[].related_skills | Object Array | Yes | Array of related skill objects. Each item contains id, name, slug, and weight. |
| data[].related_skills[].id | String | Yes | Related skill identifier. |
| data[].related_skills[].name | String | Yes | Related skill name. |
| data[].related_skills[].slug | String | Yes | Related skill slug. |
| data[].related_skills[].weight | Integer | Yes | Related skill weight. |
| links | Object | Yes | Pagination links object containing first, last, prev, and next. |
| links.first | String | Yes | URL for the first page. |
| links.last | String | Yes | URL for the last page. |
| links.prev | String | Yes | URL for the previous page, or null when there is no previous page. |
| links.next | String | Yes | URL for the next page, or null when there is no next page. |
| meta | Object | Yes | Pagination metadata object containing current_page, from, last_page, links, path, per_page, to, and total. |
| meta.current_page | Integer | Yes | Current page number. |
| meta.from | Integer | Yes | First item index on the current page. |
| meta.last_page | Integer | Yes | Last page number. |
| meta.links | Object Array | Yes | Array of pagination link objects. Each item contains url, label, and active. |
| meta.links[].url | String | Yes | Link URL; may be null. |
| meta.links[].label | String | Yes | Link label. |
| meta.links[].active | Boolean | Yes | Indicates whether the link is active. |
| meta.path | String | Yes | Base path for the paginated resource. |
| meta.per_page | Integer | Yes | Number of items per page. |
| meta.to | Integer | Yes | Last item index on the current page. |
| meta.total | Integer | Yes | Total number of items across all pages. |