V1Response¶
-
class
OC\AppFramework\OCS\
V1Response
¶ Source: lib/private/AppFramework/OCS/V1Response.php#30 Parent: OC\AppFramework\OCS\BaseResponse
Methods¶
-
public
OC\AppFramework\OCS\V1Response::
getStatus
()¶ - The V1 endpoint has very limited http status codes basically everythingis status 200 except 401
Source: lib/private/AppFramework/OCS/V1Response.php#38 Returns: int
-
public
OC\AppFramework\OCS\V1Response::
getOCSStatus
()¶ - In v1 all OK is 100
Source: lib/private/AppFramework/OCS/V1Response.php#52 Returns: int
-
public
OC\AppFramework\OCS\V1Response::
render
()¶ - Construct the meta part of the responseAnd then late the base class render
Source: lib/private/AppFramework/OCS/V1Response.php#68 Returns: string