Get a proposal
curl --request GET \
--url https://api.getlurk.com/v1/proposals/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/proposals/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/proposals/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"status": "open",
"title": "<string>",
"summary": "<string>",
"by": "<string>",
"via": "api",
"agent": "<string>",
"changes": [
{
"operation": "rules.publish",
"target": {
"type": "<string>",
"id": "<string>",
"name": "<string>"
},
"summary": "<string>",
"input": {},
"before": {},
"after": {},
"effect": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"decided_at": "2023-11-07T05:31:56Z",
"decided_by": "<string>",
"note": "<string>",
"url": "<string>",
"included_changes": [
1
],
"applied": [
"<string>"
],
"key_claims": [
{
"id": "<string>",
"name": "<string>",
"status": "pending",
"expires_at": "2023-11-07T05:31:56Z",
"pkce_required": true,
"api_key_id": "<string>",
"code_issue_count": 1
}
]
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}Proposals
Get a proposal
One proposal with its changes, who asked, and how it was decided.
GET
/
v1
/
proposals
/
{id}
Get a proposal
curl --request GET \
--url https://api.getlurk.com/v1/proposals/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/proposals/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/proposals/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"status": "open",
"title": "<string>",
"summary": "<string>",
"by": "<string>",
"via": "api",
"agent": "<string>",
"changes": [
{
"operation": "rules.publish",
"target": {
"type": "<string>",
"id": "<string>",
"name": "<string>"
},
"summary": "<string>",
"input": {},
"before": {},
"after": {},
"effect": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"decided_at": "2023-11-07T05:31:56Z",
"decided_by": "<string>",
"note": "<string>",
"url": "<string>",
"included_changes": [
1
],
"applied": [
"<string>"
],
"key_claims": [
{
"id": "<string>",
"name": "<string>",
"status": "pending",
"expires_at": "2023-11-07T05:31:56Z",
"pkce_required": true,
"api_key_id": "<string>",
"code_issue_count": 1
}
]
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}Authorizations
Response
Get a proposal
A change someone asked for and a person decides. Nothing in it has run until a person approves it.