πŸ”§Actions

Image recognition

Run Image recognition Action

POST https://uc.alxgsv.com/api/v1/projects/:project_id/files/:file_id/actions/recognize.json

curl -X POST -H "Authorization: Bearer ${SECRET_KEY}" https://uc.alxgsv.com/api/v1/projects/${PROJECT_ID}/files/${FILE_ID}/actions/recognize.json

Path Parameters

Name
Type
Description

project_id*

String

file_id*

String

Headers

Name
Type
Description

Authorization*

String

Bearer SECRET KEY

{
    "data": {
        "type": "actions",
        "id": "a-01MuE23uyawZ4jh50sgYiM",
        "attributes": {
            "action_type": "recognize",
            "status": "pending",
            "result": null
        },
        "relationships": {
            "project": {
                "data": {
                    "type": "projects",
                    "id": "8a540ce633522d881e97"
                }
            },
            "file": {
                "data": {
                    "type": "files",
                    "id": "f-lw1KJfuk8nS6P0Vwl1I4Hw"
                }
            }
        }
    }
}

View Image recognition Action

GET https://uc.alxgsv.com/api/v1/projects/:project_id/files/:file_id/actions/recognize.json

curl -X GET -H "Authorization: Bearer ${SECRET_KEY}" https://uc.alxgsv.com/api/v1/projects/${PROJECT_ID}/files/${FILE_ID}/actions/recognize.json

Path Parameters

Name
Type
Description

project_id*

String

file_id*

String

Headers

Name
Type
Description

Authorization*

String

Bearer SECRET_KEY

Image moderation

Run Image moderation Action

POST https://uc.alxgsv.com/api/v1/projects/:project_id/files/:file_id/actions/moderate.json

curl -X POST -H "Authorization: Bearer ${SECRET_KEY}" https://uc.alxgsv.com/api/v1/projects/${PROJECT_ID}/files/${FILE_ID}/actions/moderate.json

Path Parameters

Name
Type
Description

project_id*

String

file_id*

String

Headers

Name
Type
Description

Authorization*

String

Bearer SECRET KEY

View Image moderation Action

GET https://uc.alxgsv.com/api/v1/projects/:project_id/files/:file_id/actions/moderate.json

curl -X GET -H "Authorization: Bearer ${SECRET_KEY}" https://uc.alxgsv.com/api/v1/projects/${PROJECT_ID}/files/${FILE_ID}/actions/moderate.json

Path Parameters

Name
Type
Description

project_id*

String

file_id*

String

Headers

Name
Type
Description

Authorization*

String

Bearer SECRET_KEY

Virus scan

Run Virus scan action

POST https://uc.alxgsv.com/api/v1/projects/:project_id/files/:file_id/actions/virus_scan.json

curl -X POST -H "Authorization: Bearer ${SECRET_KEY}" https://uc.alxgsv.com/api/v1/projects/${PROJECT_ID}/files/${FILE_ID}/actions/virus_scan.json

Path Parameters

Name
Type
Description

project_id*

String

file_id*

String

Headers

Name
Type
Description

Authorization*

String

Bearer SECRET KEY

View Virus scan action

GET https://uc.alxgsv.com/api/v1/projects/:project_id/files/:file_id/actions/virus_scan.json

curl -X GET -H "Authorization: Bearer ${SECRET_KEY}" https://uc.alxgsv.com/api/v1/projects/${PROJECT_ID}/files/${FILE_ID}/actions/virus_scan.json

Path Parameters

Name
Type
Description

project_id*

String

file_id*

String

Headers

Name
Type
Description

Authorization*

String

Bearer SECRET_KEY

Last updated