@grabjs/superapp-sdk
    Preparing search index...

    Type Alias GetStringResponse

    GetStringResponse:
        | { error: string; status_code: 400 }
        | { error: string; status_code: 500 }
        | { error: string; status_code: 501 }
        | { error: string; status_code: 424 }
        | { result: { value: string | null }; status_code: 200 }

    Response when getting a string value.

    This response can have the following status codes:

    • 200: Value retrieved successfully. The result contains the string value or null if not found.
    • 400: Missing required parameters - key not provided.
    • 424: Failed Dependency - storage operation failed due to underlying storage error.
    • 500: Internal server error - an unexpected error occurred on the native side.
    • 501: Not implemented - this method requires the Grab app environment.