Create a batch image analysis job

POST {{baseUrl}}/imageJobs

Create a batch image analysis job.

Request Body

{"features"=>[{"featureType"=>"IMAGE_CLASSIFICATION"}], "inputLocation"=>{"sourceType"=>"OBJECT_LIST_INLINE_INPUT_LOCATION"}, "outputLocation"=>{"bucketName"=>"nostrud in enim officia proident", "namespaceName"=>"aliqua cupidatat labore cillum consectetur", "prefix"=>"ut elit quis labore"}, "compartmentId"=>"{{compartment_ocid}}", "displayName"=>"sunt e", "isZipOutputEnabled"=>false}

HEADERS

KeyDatatypeRequiredDescription
opc-retry-tokenstringA token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again. Retry tokens expire after 24
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
has been deleted and purged from the system, then a retry of the original creation request
might be rejected.
opc-request-idstringThe client request ID for tracing.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"compartmentId":"irure veniam non esse","features":[{"featureType":"OBJECT_DETECTION"}],"id":"occaecat ea aliquip","lifecycleState":"IN_PROGRESS","outputLocation":{"bucketName":"Lorem amet nisi","namespaceName":"in dolor","prefix":"fugiat "},"timeAccepted":"1959-03-22T16:32:03.677Z","displayName":"fugiat laboris deserunt","inputLocation":{"sourceType":"OBJECT_LIST_INLINE_INPUT_LOCATION"},"isZipOutputEnabled":false,"lifecycleDetails":"PARTIALLY_SUCCEEDED","percentComplete":78.13064001419939,"timeFinished":"1964-05-26T20:25:25.747Z","timeStarted":"2000-12-17T00:35:20.698Z"}