Notes
Publish a note to knowledge bases
Changed onPublishes the note to every knowledge base that contains it. Publishing occurs asynchronously, so the published status will not update immediately.
post/pages/{id}/publish
Request
- Base URLhttps://company.aha.io/api/v1
- Auth
- OAuth 2Authorization codehttps://{account-domain}.aha.io/oauth/authorizeToken URLhttps://{account-domain}.aha.io/oauth/token
- or HTTP bearer
- or API key in cookie session
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Id identifier
Response
Successful operation
Example response
{
"page": {
"id": "6776881149490967959",
"name": null,
"title": "PRJ1-N-15 Untitled",
"document_title": "Untitled | Aha!",
"created_at": "2019-01-01T00:00:00.000Z",
"parent_id": null,
"updated_at": "2019-01-01T00:00:00.000Z",
"reference_num": "PRJ1-N-15",
"url": "https://company.aha.io/pages/PRJ1-N-15",
"resource": "https://company.aha.io/api/v1/pages/PRJ1-N-15",
"emoji_value": null,
"document_type": 80,
"document_type_name": "internal_link",
"editor_width": null,
"type_name": "internal link",
"position": null,
"location": null,
"edit_locked": false,
"linked_record_id": 1007868956,
"linked_record_type": "Feature",
"product_id": "131414752",
"description": {
"id": "6776881149494485991",
"body": "",
"notable_id": "6776881149490967959",
"notable_type": "Page",
"editor_version": 2,
"created_at": "2019-01-01T00:00:00.000Z",
"updated_at": "2019-01-01T00:00:00.000Z",
"attachments": []
},
"tags": [],
"full_tags": [],
"comments_count": 0,
"custom_fields": [],
"workflow_status": {
"id": "369936966",
"name": "Not Started",
"position": 1,
"complete": false,
"color": "#dce7c6",
"workflow_status_category": null
}
}
}Changes
- breaking
the response property
//became nullable for the status - breaking
the
//response's property type changed fromobjecttonullfor status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status
- breaking
- info
added the optional property
//to the response with the status
- info