Fix EZP-21932: Missing API doc for PromiseCAPI

JIRA issue: https://jira.ez.no/browse/EZP-21932

Documentation added.