Return a JSON object that lists the tasks associated with a specified space. Note: Use nextPageUrl and prevPageUrl from the response data for query pagination.

URL Parameters

NameDescriptionLocationRequiredDefault Value
spaceIdUnique identifier of the space.pathYes
sizeNumber of tasks to return.queryNo20
pagePage number of response data.queryNo1
statusInteger value that represents if task is completed or pending. Number 0 represents pending and 1 represents completed.queryNo

Body Parameters

None.

Authentication

JwtAuthenticator, Oauth2Authenticator, AnonymousAuthenticator, ServiceAppAuthenticator

Authorization

PERM_TOPIC_UPDATE

Example Request

URL

For Production: GET https://spacesapis.avayacloud.com/api/spaces/{spaceId}/tasks?size=2&page=1&status=0
For Staging: GET https://loganstagingapis.esna.com/api/spaces/{spaceId}/tasks?size=2&page=1&status=0

Headers

Authorization: "jwt eyJhbGciOiJSUzI1NiIsIdfgdfgnR5cCI6IkpXVCJ9.eyJ1c2VyX2lkX3NpZyI6ImxPWHpxNzVzR3J3X0xwWEMyRGRMakhyYXJlWVhyTzFMdEZHZkhkOWNkTXciLCJwcm9kdWN0X3R5cGUiOiJhY2NvdW50cyIsImxhc3R1cGRhdGV0aW1lIjoiMjAxNy0wMS0zMFQxMzo1ODo0Ny4yMDYiLCJpc3MiOiJ6YW5nLmlvIiwicHVibGlja2V5aWQiOiJhZ3h6Zm05dVpYTnVZVEl3TVRSeUdnc1NEVWRLZDNSUWRXSnNhV05MWlhrdfgdWdJQ2dsUEtFakFvTSIsImV4cCI6MTQ5NTM5MTIwMywidXNlcl9pZCI6ImFneHpmbTl1WlhOdVlUSXdNVFJ5RVFzU0JGVnpaWElZZ0lEQXMtX25fUW9NIiwidmVyIjoiMi4wIn0.SqZpw1uPIebqW3qlDsm0-DWYFKEH0SgPwtD-tSESWOF-5hLkZMqJH28ooWux2S7s9riIew7pTVPnZpTgJa5zHcEAG0gXSEJVOqmpGp_4ufM8YtZoZMpBFjyAkwyAt-ILkGUYIo0GU5WyzMPLV8YLXfgdfgOgkE2MGGOajBkjPmC2Db3pA0D0M9k-21EL1gwWBC5YIq0PDAkgulegwl6khRmB8irJQ-dfg-d-KV9eYfFpsCdJKRGzSfqg"

Or

Authorization: "bearer f746696f5de4528u128ae2f274eea253e8a7943a"

Or

Authorization: "service_app eyJhbGciOiJSUzI1NiIsIdfgdfgnR5cCI6IkpXVCJ9.eyJ1c2VyX2lkX3NpZyI6ImxPWHpxNzVzR3J3X0xwWEMyRGRMakhyYXJlWVhyTzFMdEZHZkhkOWNkTXciLCJwcm9kdWN0X3R5cGUiOiJhY2NvdW50cyIsImxhc3R1cGRhdGV0aW1lIjoiMjAxNy0wMS0zMFQxMzo1ODo0Ny4yMDYiLCJpc3MiOiJ6YW5nLmlvIiwicHVibGlja2V5aWQiOiJhZ3h6Zm05dVpYTnVZVEl3TVRSeUdnc1NEVWRLZDNSUWRXSnNhV05MWlhrdfgdWdJQ2dsUEtFakFvTSIsImV4cCI6MTQ5NTM5MTIwMywidXNlcl9pZCI6ImFneHpmbTl1WlhOdVlUSXdNVFJ5RVFzU0JGVnpaWElZZ0lEQXMtX25fUW9NIiwidmVyIjoiMi4wIn0.SqZpw1uPIebqW3qlDsm0-DWYFKEH0SgPwtD-tSESWOF-5hLkZMqJH28ooWux2S7s9riIew7pTVPnZpTgJa5zHcEAG0gXSEJVOqmpGp_4ufM8YtZoZMpBFjyAkwyAt-ILkGUYIo0GU5WyzMPLV8YLXfgdfgOgkE2MGGOajBkjPmC2Db3pA0D0M9k-21EL1gwWBC5YIq0PDAkgulegwl6khRmB8irJQ-dfg-d-KV9eYfFpsCdJKRGzSfqg"

Example Response

{
    "data": [
        {
            "__v": 0,
            "_id": "5f75a89da8492d09746902de",
            "category": "task",
            "chatCount": 0,
            "content": {
                "assignees": [
                    {
                        "_id": "5f04251caa4b347af9946e06"
                    }
                ],
                "attendees": [
                ],
                "bodyText": "Test task",
                "data": [
                    {
                        "convertStart": null,
                        "convertStatus": 0,
                        "description": "",
                        "fileId": "329b2a0f-f824-4a61-74a5-52b8409e8343",
                        "fileSize": 1966,
                        "fileType": "image",
                        "icon": "",
                        "keywords": [
                        ],
                        "metaData": {
                            "paging": 0,
                            "prvwProvd": "gcs",
                            "stgeProvd": "gcs"
                        },
                        "name": "nav_arrow_hover.png",
                        "nextSchedule": null,
                        "pages": 0,
                        "path": "https://storage.googleapis.com/spaces2020/logan%2F329b2a0f-f824-4a61-74a5-52b8409e8343?GoogleAccessId=spaces2020@spaces-2018.iam.gserviceaccount.com&Expires=1601553604&Signature=InqrGwsRhTGaLx9TICtGAxpl4xyWzSffZOotCgiP0Avc5Hn%2BnDuvf0vqNO6HI6LquOgVdguInTUHS4%2FCR1Gbwkr0NVd92K%2Bu5qIEHvzjrgcGsL%2FqA2nRv6lHism3MUAROshXXnDKoanC1ztEk09dKCKhIHov%2FdtMP15kZbVzsZupQHIBmsf82P55NbAtT%2BY3V7dkSmahHcdJhVo9Lxm2%2FPkz%2F6MADycM32d%2FEGguIcsnj1XPL%2B88dKeKjOR0mdopzFL4j%2BvUWMXMJFoFwZVvzj76YqYgv%2FlKPQrz4mx4MWnwIY52%2FLNmmPiXqYWvNiwxxprqazfTh3Q940tuOjWvOQ%3D%3D&response-content-disposition=attachment%3B%20filename%3D%22nav_arrow_hover.png%22",
                        "previewFile": "",
                        "previewUrl": "https://storage.googleapis.com/spaces2020/logan%2F44dcc6a4-1326-40b8-923e-1a726726d03c?GoogleAccessId=spaces2020@spaces-2018.iam.gserviceaccount.com&Expires=1601553604&Signature=aNRrkPwc%2FqYuuKgVbAIGZGjZ8IBGZhXze3z8duf64a%2FhaOKw2SeEvsO6oyYuWMNsNkyFzdT1sgt6GttSTBh3oVQhNYDn1S0Tx8j6VOm7gYgghBaDTXW4GjDrh7JskHc6pR3auuGzEdUzytu2zqq80EjxW2UGyhLcodf7IMUfLrM54Hi%2BZkXBeoMQRQIMilHqiWGht%2Bk1BN9rkEF7F3dEpq9pgcjBuAacv8N5y1LIpWD1x9Cq7NLIidesPc%2FuHguNm1IP0UBS6MdH0rCeR6sNy8t3M2NzgYQXxnH%2BfHeQxF81fi3Af3g0GYkVJcfwl4OfEG15u2pEpZLTCM3Y9i77uw%3D%3D",
                        "provider": "native",
                        "providerFileType": "image/png",
                        "recordingId": null,
                        "thumbnail": "",
                        "thumbnailFile": "44dcc6a4-1326-40b8-923e-1a726726d03c",
                        "thumbnailUrl": "https://storage.googleapis.com/spaces2020/logan%2F44dcc6a4-1326-40b8-923e-1a726726d03c?GoogleAccessId=spaces2020@spaces-2018.iam.gserviceaccount.com&Expires=1601553604&Signature=aNRrkPwc%2FqYuuKgVoAIGZGjZ8IBGZhXze3z8duf64a%2FhaOKw2SeEvsO6oyYuWMNsNkyFzdT1sgt6GttSTBh3oVQhNYDn1S0Tx8j6VOm7gYgghBaDTXW4GjDrh7JskHc6pR3auuGzEdUzytu2zqq80EjxW2UGyhLcodf7IMUfLrM54Hi%2BZkXBeoMQRQIMilHqiWGht%2Bk1BN9rkEF7F3dEpq9pgcjBuAacv8N5y1LIpWD1x9Cq7NLIidesPc%2FuHguNm1IP0UBS6MdH0rCeR6sNy8t3M2NzgYQXxnH%2BfHeQxF81fi3Af3g0GYkVJcfwl4OfEG15u2pEpZLTCM3Y9i77uw%3D%3D",
                        "type": null
                    }
                ],
                "description": "<p>Test task description</p>",
                "dueDate": "2020-10-01T09:59:17.963Z",
                "endTime": null,
                "mediaMode": "audio",
                "meetingStatus": "active",
                "recordings": [
                ],
                "startTime": "2020-10-01T09:59:57.126Z",
                "status": "pending",
                "virtualEndTime": null
            },
            "created": "2020-10-01T09:59:57.111Z",
            "likeCount": 0,
            "modified": "2020-10-01T09:59:57.111Z",
            "sender": {
                "_id": "5f04251caa4b347af9946e06",
                "displayname": "Test User",
                "picture_url": "https://storage.googleapis.com/onesna/pictures/pfpic_testuser_34cb97bd-0151-449d-84b0-48e07853b19f",
                "type": "user",
                "username": "testuser@avaya.com"
            },
            "status": 0,
            "topicId": "5f32b87ffbfba05a839154db"
        }
    ],
    "nextPageUrl": "",
    "previousPageUrl": "",
    "total": 1
}