Web App Plugins

<back to all web services

SearchProcess

The following routes are available for this service:
All Verbs/processes
SearchProcess Parameters:
NameParameterData TypeRequiredDescription
NameContainsquerystringNo
MemoryBytesAbovequeryint?No
ActiveThreadsAbovequeryint?No
SearchProcessResponse Parameters:
NameParameterData TypeRequiredDescription
ResultsformList<ProcessInfo>No
ResponseStatusformResponseStatusNo
ProcessInfo Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
CpuTimeformstringNo
UserTimeformstringNo
MemoryBytesformlongNo
MemoryPeakBytesformlongNo
ActiveThreadsformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /processes HTTP/1.1 
Host: plugins.web-app.io 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	nameContains: String,
	memoryBytesAbove: 0,
	activeThreadsAbove: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	results: 
	[
		{
			id: 0,
			name: String,
			cpuTime: String,
			userTime: String,
			memoryBytes: 0,
			memoryPeakBytes: 0,
			activeThreads: 0
		}
	],
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}