List profile checklists
1 min
GET
https://api.detected.app/api/v2/public/profiles/{uuid}/checklists
Path Parameters
- uuidstringrequiredDescription
Query Parameters
- order_bystringDescriptionAlloweddescasc
- sort_bystringDescription
- pagestringDescription
- idstringDescription
- namestringDescription
Responses
200
- object
- dataChecklistResource[]Description
- idnumberrequiredDescription
- namestringrequiredDescription
- sectionsobject[]Description
- idnumberDescription
- namestringDescription
- tasksobject[]Description
- idnumberDescription
- namestringDescription
- teamobjectDescription
- idnumberDescription
- namestringDescription
- members_countnumberDescription
- statusstring<exempt | failed | passed | needs_review>DescriptionAllowedexemptfailedpassedneeds_review
- total_commentsnumberDescription
- member_belongs_to_teambooleanDescription
- uncompleted_tasksnumberDescription
- completed_tasksnumberDescription
- linksLinksResource
- firststringDescription
- laststringDescription
- prevstringDescription
- nextstringDescription
- metaMetaResource
- current_pagenumberDescription
- fromnumberDescription
- last_pagenumberDescription
- linksobject[]Description
- urlstringDescription
- labelstringDescription
- activebooleanDescription
- pathstringDescription
- per_pagenumberDescription
- tonumberDescription
- totalnumberDescription
Response Headers
- X-RateLimit-Limit
- X-RateLimit-Remaining
- x-ratelimit-reset
- retry-after
401
- object
- messagestringDescription
429
- object
- messagestringDescription
curl
curl --request GET \
--url https://api.detected.app/api/v2/public/profiles/{uuid}/checklists \
--header 'accept: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://api.detected.app/api/v2/public/profiles/{uuid}/checklists", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://api.detected.app/api/v2/public/profiles/{uuid}/checklists")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://api.detected.app/api/v2/public/profiles/{uuid}/checklists"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
// OK
{
"data": [
{
"id": 0,
"name": "",
"sections": [
{
"id": 0,
"name": "",
"tasks": [
{
"id": 0,
"name": "",
"team": {
"id": 0,
"name": "",
"members_count": 0
}
}
],
"status": "",
"total_comments": 0,
"member_belongs_to_team": false
}
],
"uncompleted_tasks": 0,
"completed_tasks": 0
}
],
"links": {
"first": "",
"last": "",
"prev": "",
"next": ""
},
"meta": {
"current_page": 0,
"from": 0,
"last_page": 0,
"links": [
{
"url": "",
"label": "",
"active": false
}
],
"path": "",
"per_page": 0,
"to": 0,
"total": 0
}
}401
// Unauthorized. The access token is missing, invalid or has expired.
{
"message": ""
}429
// Too Many Requests. You have exceeded the rate limit. Wait for the number of seconds given in the Retry-After header before trying again.
{
"message": ""
}