Cas

Add a global caslib

Add a global caslib to the controller using the table.addCaslib action. Parameters must be submitted as JSON in the request body using the parameters for the addCaslib CAS action. Parameter processing is handled by the action, so errors may be returned as action results (and HTTP 200 result code) rather than vnd.sas.cas.direct.error.response.

put/cas/caslibs

Request

  • Base URL: http://mock-cas.apifirst.unx.sas.com/cas
  • URL: http://mock-cas.apifirst.unx.sas.com/cas/cas/caslibs
  • Auth: one of:
    • HTTP basic
    • OAuth 2 (implicit, authorization URL https://site-specific-url)

Response

OK

statusinteger

Always returns 0. Use disposition.statusCode instead.

logstring

Concatenation of log entries into a single string.

changedResourcesChangedResources[]

A list of enumerated strings that represents state changes in the server that occurred while running the action. Clients can use these flags to distinguish what local resources must be refreshed (e.g. lists of caslibs) to reflect the current state of the server.

Example response

{
  "results": {
    "schema": [
      {
        "label": "Some column label",
        "type": "int"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.