Support Resources

LucidWorks Forum
KnowledgeBase

LucidWorks Search v2.5

PDF Versions

Older Versions

LucidWorks 2.1
LucidWorks 2.0
LucidWorks 1.8

This is the documentation for the LucidWorks Search v2.5, the latest release. Go here for LucidWorks 2.1.

Skip to end of metadata
Go to start of metadata

The Activities Status API allows you to get information about whether or not an Activity is currently running.

API Entry points

/api/collections/collection/activities/id/status: get the status of an activity.

Get the Current Status of an Activity

GET /api/collection/collection/activities/id/status

Input

Path Parameters

Key Description
collection The collection name.
id The activity ID. Use 'all' for all activities.

Query Parameters

None

Input Content

None

Output

Output Content

Key Type Description
id int The activity ID.
running boolean True indicates the activity is currently running.
type string The activity type. Possible types are click, autocomplete, or optimize.

Examples

Input

curl 'http://localhost:8888/api/collections/collection1/activities/2/status'

Output

While the activity is running:

{
     "id" : 2,
     "running" : true,
     "type" : "optimize"
}

Once process is finished, and the activity is idle:

{
     "id" : 2,
     "running" : false,
     "type" : "optimize"
}
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.