Knowledge APIs
/- Portal Manager
- V4
- Get Article Edition Details
Get Article by ID
Get Article By ID with Editions
Get All Article Types in a Department
Add Article to Reply
Add as Reference
Get Articles in Topic
Get Article Attachment By ID
Get Article Attachment in Portal
Get Related Articles
Get Announcement Articles
Get Article Ratings
Rate an Article
Get Pending Article Compliances
Get Acknowledged Article Compliances
Comply With an Article
My Subscription
Subscribe to an Article
Unsubscribe to an Article
Get Article Permissions By ID
Get Article Personalization Details
Get Article Edition Detai...
- This API retrieves the details of an article edition.
Security
oAuthClient(Required scopes:
https://api.egain.cloud/auth/.de...
)For agents with the View Author Portal or View Staging Portal actions, this determines which version of the Article is returned.
Enum:"authoring""staging""publish"
Example:workflowMilestone=publish
GET
curl -i -X GET \
'https://api.egain.cloud/knowledge/portalmgr/v4/articles/PROD-2996/editions/PROD-3020?%24lang=en-US&workflowMilestone=publish' \
-H 'Accept-Language: en-US' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Success
The raw content of the article. The maximum allowed Article content size is 2 MB.
Plain text version of the content. The maximum allowed Article content size is 2 MB.
Response
{ "id": "PROD-2940", "name": "Internal", "publishProfile": { "id": "PROD-3020", "name": "Internal" }, "content": "<h1>What is fair lending?</h1>\n\n<p>Fair lending prohibits lenders from considering your race, color, national origin, religion, sex, familial status, or disability when applying for residential mortgage loans. Fair lending guarantees the same lending opportunities to everyone.</p>\n\n\n\n\n\n<h1>If I am not from the United States, does the federal Fair Housing Act protect me?</h1>\n\n<p>Yes, whether you are a U.S. citizen, registered alien (a “green card” holder), or an undocumented resident of the U.S., you are protected by the federal Fair Housing Act.</p>\n\n<h1>How can the Fair Housing Act protect me when I purchase a home?</h1>\n\n<p>The federal Fair Housing Act makes it unlawful to discriminate in the sale, rental, or financing of homes because of race, color, national origin, religion, sex, familial status, or disability</p>\n\n<p></p>\n", "contentText": "What is fair lending?\r\n\n\n\r\nFair lending prohibits lenders from considering your race, color, national origin, religion, sex, familial status, or disability when applying for residential mortgage loans. Fair lending guarantees the same lending opportunities to everyone.\n\n\n\n\n\n\r\nIf I am not from the United States, does the federal Fair Housing Act protect me?\r\n\n\n\r\nYes, whether you are a U.S. citizen, registered alien (a “green card” holder), or an undocumented resident of the U.S., you are protected by the federal Fair Housing Act.\n\n\r\nHow can the Fair Housing Act protect me when I purchase a home?\r\n\n\n\r\nThe federal Fair Housing Act makes it unlawful to discriminate in the sale, rental, or financing of homes because of race, color, national origin, religion, sex, familial status, or disability\n\n\r\n\n", "accessTags": { "tagCategory": [ … ] }, "link": { "rel": "self", "href": "/knowledge/portalmgr/v4/articles/PROD-2996/editions/PROD-3020?%24lang=en-US" } }