List projects
curl --request GET \
--url https://web.edcontrols.com/api/v2/data/projects \
--header 'Authorization: Bearer <token>'import requests
url = "https://web.edcontrols.com/api/v2/data/projects"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://web.edcontrols.com/api/v2/data/projects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://web.edcontrols.com/api/v2/data/projects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://web.edcontrols.com/api/v2/data/projects"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://web.edcontrols.com/api/v2/data/projects")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://web.edcontrols.com/api/v2/data/projects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"size": 123,
"page": 123,
"hits": 123,
"results": [
{
"_id": "<string>",
"_rev": "<string>",
"name": "<string>",
"referenceName": "<string>",
"archived": "<string>",
"type": "IB.EdBundle.Document.Project",
"tags": [
"<string>"
],
"dates": {
"creationDate": "2023-11-07T05:31:56Z",
"lastModifiedDate": "2023-11-07T05:31:56Z",
"startDate": "<string>",
"endDate": "<string>"
},
"location": {
"location": "<string>",
"latitude": 123,
"longitude": 123
},
"participants": {
"accountable": {
"email": "jsmith@example.com",
"type": "<string>"
},
"support": [
{
"email": "jsmith@example.com",
"type": "<string>"
}
],
"consulted": [
{
"email": "jsmith@example.com",
"type": "<string>"
}
],
"informed": [
{
"email": "jsmith@example.com",
"type": "<string>"
}
]
},
"settings": {},
"customFields": [
{
"id": "<string>",
"label": "<string>",
"type": "freetext"
}
]
}
],
"aggregations": {}
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}Projects
List projects
Returns the projects visible to the authenticated user, wrapped in the
standard search envelope. Use this call to discover the database
identifier needed by all other endpoints.
GET
/
api
/
v2
/
data
/
projects
List projects
curl --request GET \
--url https://web.edcontrols.com/api/v2/data/projects \
--header 'Authorization: Bearer <token>'import requests
url = "https://web.edcontrols.com/api/v2/data/projects"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://web.edcontrols.com/api/v2/data/projects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://web.edcontrols.com/api/v2/data/projects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://web.edcontrols.com/api/v2/data/projects"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://web.edcontrols.com/api/v2/data/projects")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://web.edcontrols.com/api/v2/data/projects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"size": 123,
"page": 123,
"hits": 123,
"results": [
{
"_id": "<string>",
"_rev": "<string>",
"name": "<string>",
"referenceName": "<string>",
"archived": "<string>",
"type": "IB.EdBundle.Document.Project",
"tags": [
"<string>"
],
"dates": {
"creationDate": "2023-11-07T05:31:56Z",
"lastModifiedDate": "2023-11-07T05:31:56Z",
"startDate": "<string>",
"endDate": "<string>"
},
"location": {
"location": "<string>",
"latitude": 123,
"longitude": 123
},
"participants": {
"accountable": {
"email": "jsmith@example.com",
"type": "<string>"
},
"support": [
{
"email": "jsmith@example.com",
"type": "<string>"
}
],
"consulted": [
{
"email": "jsmith@example.com",
"type": "<string>"
}
],
"informed": [
{
"email": "jsmith@example.com",
"type": "<string>"
}
]
},
"settings": {},
"customFields": [
{
"id": "<string>",
"label": "<string>",
"type": "freetext"
}
]
}
],
"aggregations": {}
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}Authorizations
Query Parameters
Response
Search envelope with Project objects in results.
