diff --git a/docs_v1.0/API_WORKSPACE/modules/07_identity.md b/docs_v1.0/API_WORKSPACE/modules/07_identity.md index a6723e1..4b8e3ef 100644 --- a/docs_v1.0/API_WORKSPACE/modules/07_identity.md +++ b/docs_v1.0/API_WORKSPACE/modules/07_identity.md @@ -124,13 +124,39 @@ Get all text chunks (sentences) spoken while this identity's face was on screen. curl -s "$API/api/v1/identity/$IDENTITY_UUID/chunks" -H "X-API-Key: $KEY" ``` +#### Response (200) + +```json +{ + "success": true, + "identity_uuid": "a9a901056d6b46ff92da0c3c1a57dff4", + "data": [ + { + "id": 0, + "file_uuid": "bd80fec92b0b6963d177a2c55bf713e2", + "chunk_id": "bd80fec92b0b6963d177a2c55bf713e2_2", + "chunk_type": "sentence", + "start_frame": 5103, + "end_frame": 5127, + "fps": 24.0, + "start_time": 212.64, + "end_time": 213.64, + "text_content": "[213s-214s] Cary Grant: \"Olá!\"" + } + ] +} +``` + | Field | Type | Description | |-------|------|-------------| | `file_uuid` | string | File identifier | | `chunk_id` | string | Sentence chunk identifier | +| `start_frame` | integer | Frame-accurate start position | +| `end_frame` | integer | Frame-accurate end position | +| `fps` | float | Frames per second | | `start_time` | float | Start time in seconds | | `end_time` | float | End time in seconds | -| `text` | string | Spoken text content | +| `text_content` | string | Spoken text content | ---