GET https://api.playment.io/v0/projects/ <project_id>/details

Parameters
project_id: To be passed in the URL
x-api-key: Secret key to be passed as a header

{
    "data": {
        "name": "Alfa Project",
        "base": "VIDEO",
        "batches": [
            {
                "id": "27f8303e-69fd-4b54-a4e9-63456571e195",
                "name": "Batch 1",
                "description": "batch_1",
                "is_default": false,
                "total_jobs": 1427,
                "completed_jobs": 1427,
                "total_frames": 1427,
                "completed_frames": 1427,
                "annotations": 1427,
                "created_at": "2019-08-23T17:55:13.203229+05:30",
                "status": "Complete"
            },
            {
                "id": "10cab3e9-3f26-4c8b-83ac-3c138685120b",
                "name": "Batch 2",
                "description": "batch_2",
                "is_default": false,
                "total_jobs": 4996,
                "completed_jobs": 4996,
                "total_frames": 4996,
                "completed_frames": 4996,
                "annotations": 4996,
                "created_at": "2019-12-06T15:42:36.23401+05:30",
                "status": "Complete"
            }            
        ]
    },
    "success": true
}

Response Structure

NameDescription
batchesList of all the batches with details in the asked project
batches.idString ID of the batch
batches.nameString name of the batch
batches.descriptionString description of the batch
batches.is_defaultBoolean indicating if it is the default bactch or not
batches.total_jobsNumber total number of jobs in the batch
batches.completed_jobsNumber total number of completed jobs in the batch
batches.total_frameNumber total number of frames in the batch
batches.completed_frameNumber total number of completed frames in the batch
batches.annotationsNumber total number of annotations in the batch
batches.created_atString data-time at which batch was created
batches.statusString status, whether the batch has been completed or not
Language
Authorization
Header
Click Try It! to start a request and see the response here!