"WolframApplicationServer" (Service Connection)
Connecting & Authenticating
Requests
Information
"Services" — a list of services available on the provided Wolfram Application Server, returned as URLs
"ServiceDeployments" — a list of services available on the provided Wolfram Application Server, returned as ServiceDeployment
"ServiceInformation" — information concerning the provided service
| "Service" | (required) | the name or URL for the service |
"EndpointInformation" — information concerning the provided endpoint path
| "Endpoint" | (required) | the relative path or URL for an endpoint |
"Resources" — a list of resources available on the provided Wolfram Application Server, returned as URLs
"ResourceContents" — the expression evaluated when calling the provided resource
"ResourceInformation" — information concerning the provided resource path
| "Resource" | (required) | the relative path or URL for a resource |
"NodeFiles" — a list of files available on the provided Wolfram Application Server, returned as URLs
"NodeFileContents" — the contents of the provided files
| "NodeFile" | (required) | the relative path or URL for a node file |
Deployment
"DeployNodeFile" — upload a new file to the Wolfram Application Server, returns a URL to the file
| "NodeFile" | (required) | the relative path or URL for the file | |
| "Contents" | (required) | the content of the file, can be an expression or file specified by a file path or File |
"DeployResource" — create or update a resource on the Wolfram Application Server, returns a URL to the resource
| "Resource" | (required) | the relative path or URL for the resource | |
| "Contents" | (required) | the content of the resource, can be an expression or package file specified by a file path or File | |
| "ResourceType" | Automatic | determines the server behavior when accessing the resource | |
| "MIMEType" | Automatic | type of file used for the resource | |
| "PoolName" | Automatic | name of the kernel pool used to evaluate the resource | |
| "Timeout" | None | the kernel evaluation time limit used when evaluating the resource, can be expressed as a Quantity or number of seconds |
"DeployEndpoint" — create or update an endpoint on the Wolfram Application Server, returns a URL to the endpoint
| "Endpoint" | (required) | the relative path or URL for the endpoint | |
| "Resource" | (required) | the relative path or URL for the resource used when calling the endpoint |
Deletion
"DeleteResource" — removes the specified resource from the Wolfram Application Server
| "Resource" | (required) | the relative path or URL for the resource |
"DeleteEndpoint" — removes the specified endpoint from the Wolfram Application Server
| "Endpoint" | (required) | the relative path or URL for the endpoint |
"DeleteNodeFile" — removes the specified file from the Wolfram Application Server
| "NodeFile" | (required) | the relative path or URL for the file |
Resources
Creation
Information
was["Resources"]Get more information on a specific resource:
was["ResourceInformation", "Resource" -> URL["http://resources.was.example.com/packages/hello.wl"]]Get the contents of a specific resource:
was["ResourceContents", "Resource" -> "resources/hello.wl"]Endpoints
Creation
Information
Node Files
Creation
Information
packages = was["NodeFiles"]Get the contents of a specific package:
was["NodeFileContents", "NodeFile" -> URL["http://nodefiles.was.example.com/packages/hello.wl"]]See the contents of a specific package:
Import[First[packages], "String"]Examples
Basic Examples (1)
was = ServiceConnect["WolframApplicationServer", "http://was.example.com"]was["Services"]Get more information on a specific service:
was["ServiceInformation", "Service" -> URL["http://was.example.com/hello"]]Clicking the link provided will open it in a new browser tab:
See Also
ServiceExecute ▪ ServiceConnect ▪ ServiceDeploy ▪ ServiceDeployment