This site has moved to the integrated Appfire documentation and information site for our apps.

From February 2024 this site is no longer updated.

Take a look here! If you have any questions please email support@appfire.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

DATA CENTER DOCUMENT ACTIVITY REST API

Document activity endpoint records for a list of page ids

http://localhost:8090/rest/cw/2/documentactivity/pages

{
    "sorting": "desc",
    "filters": {
        "scope": {
            "pageIds": [
                "1343921",
                "1343948"
            ]
        },
        "actors": [
            "8aa7c63a7bc8fd3c017bc8fdba710000"
        ],
        "participants": [
            "8aa7c63a7bc8fd3c017bc8fdba710000"
        ],
        "stateNames": []
    },
    "limit": 100,
    "offset": 0
}

This example includes the following filters

  • scope to filter the pageids

  • actors to filter by one or more users (by userid) who undertook a document activity

  • participants to filter by one or more users (by userid) who were assigned, commented

The report will include all workflow states in the specified pages for the specified users (stateNames [ ] is empty) and be limited to 100 items.

If the request contains a space/page over which the user making the request does not have enough permissions then the response will be a bad request with details about the spaces/pages over which the user does not have enough permissions and therefore they should be removed from the request

Document activity endpoint records for a list of spaceKeys

http://localhost:8090/rest/cw/2/documentactivity/spaces

{
    "sorting": "desc",
    "filters": {
        "scope": {
            "spaceKeys": [
                "AWP"
            ]
        },
        "stateNames": []
    }
}

This example includes the following filters

  • scope to filter the spacekeys

The report will include all workflow states in the specified spaces - (stateNames [ ] is empty) and be limited to 100 items.

If the request contains a space/page over which the user making the request does not have enough permissions then the response will be a bad request with details about the spaces/pages over which the user does not have enough permissions and therefore they should be removed from the request

Examples of use of document activity API include

Filter by label

There are no items with the selected labels at this time.

JSON Documentation test below

Requirements for this to be simple holding page published to Refined. Links to API documentation to a separate jira.comalatech.com space to allow use of Open API macro.

Adding text to Open API macro

Adding via url to Open API macro

….need to work out the link format

  • No labels