namespace \webfiori\framework
abstract class ExtendedWebServicesManager
Class Methods Summary
Class Methods Details
Parameters:
- string $version initial API version. Default is '1.0.0'.
{
"message":"Action not implemented.",
"type":"error",
}
{
"message":"Action not supported",
"type":"error"
}
{
"message":"Content type not supported.",
"type":"error",
"request-content-type":"content_type"
}
Parameters:
- unkown_type $cType
Parameters:
- string $dir A string that looks like a directory.
{
"message":"a_message",
"type":"error",
"err-info":OTHER_DATA
}
Parameters:
- JsonI|Json|DB|string $info An object of type JsonI or Json that describe the error in more details. Also it can be a simple string. Also, this parameter can be a database instance that contains database error information. Note that the content of the field "message" might differ. It depends on the language. If no language is selected or language is not supported, The language that will be used is the language that was set as default language in the class 'SiteConfig'.
Parameters:
- string $dir A directory to the language variable (such as 'pages/login/login-label').
- type: Type of authorization (e.g. basic, bearer )
- credentials: Depending on authorization type, this field will have different values.
{
"message":"The following parameter(s) has invalid values: 'param_1', 'param_2', 'param_n'",
"type":"error"
}
{
"message":"The following required parameter(s) where missing from the request body: 'param_1', 'param_2', 'param_n'",
"type":"error",
}
{
"message":"Not authorized",
"type":"error"
}
Parameters:
- string $pathToScan A path which is relative to application source code folder. For example, if application folder name is 'my-app' and the web services are in the folder 'my-app/apis/user, then the value of the argument must be 'apis/user'.
{
"message":"Method Not Allowed.",
"type":"error",
}
Parameters: