listProjects
GET
/projects
const url = 'https://example.com/api/v1/projects';const options = {method: 'GET', headers: {cookie: 'dnse_session=<dnse_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/projects \ --cookie dnse_session=<dnse_session>Authorizations
Abschnitt betitelt „Authorizations“Responses
Abschnitt betitelt „Responses“Projects.
Media typeapplication/json
Array<object>
object
id
string format: uuid
name
string
isBase
Personal base project — not shareable, not deletable.
boolean
role
The acting user’s effective role (admins act owner-level).
string
favorite
Pinned on the acting user’s overview (per-user preference).
boolean
acmeEmail
Let’s Encrypt account e-mail (project setting; empty = certificates disabled).
string
Example
[ { "role": "owner" }]