Get job results
JoJOB RESULT
GET
https://api.playment.io/v1/projects/:project_id/jobs/:job_id
This endpoint allows you to get the annotations created on a job.
Path Parameters
Name | Type | Description |
---|---|---|
job_id | string | ID of the job. You would have received this ID in the response when you created the job. |
project_id | string | ID of the project where the job was created |
Headers
Name | Type | Description |
---|---|---|
x-api-key | string | API key for authentication |
ATTACHMENT
GET
https://api.playment.io/v1/attachments?url=:result_url
The result_url (data.result
) returned by the GET Job result API is a private URL (Well, it's public till 15th July 2021, after which we'll enforce it to be private). You need to use this Attachment access API to securely fetch the results. Please refer to the Attachment Access API document for more detail.
Path Parameters
Name | Type | Description |
---|---|---|
result_url | string | Result URL returned by the GET job result API |
Headers
Name | Type | Description |
---|---|---|
x-api-key | string | API key for authentication |
Result Object
To access the PCD mask (url
in the result object), follow these steps :
From the "Frames" object, get the "frame_id".
Go to "Masks" object, and locate the "frame_id" property with the value needed (from step 1).
The "frame_id" property in "Masks" object will have a "label_url" attribute.
Use the GET Attachment API with the url obtained from "label_url" attribute.
This will generate a Mask file, similar to the sample below.
In the annotation list, each class is associated with a distinct label key, which corresponds to a mask within the array. This label key is aligned with the points in the Point Cloud Data, ensuring that the label key is ordered at the same index as the corresponding point in the Point Cloud Data.
Last updated