Skip to main content
Version: 1.1.6

DAVResponse

export type DAVResponse = {
raw?: any;
href?: string;
status: number;
statusText: string;
ok: boolean;
error?: { [key: string]: any };
responsedescription?: string;
props?: { [key: string]: { status: number; statusText: string; ok: boolean; value: any } | any };
};

sample DAVResponse

{
"raw": {
"multistatus": {
"response": {
"href": "/",
"propstat": {
"prop": {
"currentUserPrincipal": { "href": "/123456/principal/" }
},
"status": "HTTP/1.1 200 OK"
}
}
}
},
"href": "/",
"status": 207,
"statusText": "Multi-Status",
"ok": true,
"props": { "currentUserPrincipal": { "href": "/123456/principal/" } }
}

response type of davRequest