Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

Detect principal collection #169

Open
Hywan opened this issue Apr 27, 2015 · 5 comments
Open

Detect principal collection #169

Hywan opened this issue Apr 27, 2015 · 5 comments

Comments

@Hywan
Copy link
Member

Hywan commented Apr 27, 2015

principals/ is not mandatory. We should detect/auto-find it by using a PROPFIND request.

@Hywan Hywan self-assigned this Apr 27, 2015
@Hywan Hywan added this to the 0.2.0 milestone Apr 27, 2015
@evert
Copy link
Member

evert commented Apr 27, 2015

They property you are looking for is principal-collection-set. Note that it can contain more than 1 url. For now you can just grab the first in the list, but in the future we might want to support multiple (1 for users, 1 for groups, 1 for locations, etc).

http://tools.ietf.org/html/rfc3744#section-5.8

@Hywan
Copy link
Member Author

Hywan commented Apr 27, 2015

How to get the “type” of resources (principals, calendars, etc.)?

@evert
Copy link
Member

evert commented Apr 27, 2015

{DAV:}resourcetype

@Hywan
Copy link
Member Author

Hywan commented Apr 27, 2015

Parsing XML in Javascript, hmm, miam. Thanks.

@Hywan Hywan modified the milestones: next, 0.2.0 May 12, 2015
@Hywan
Copy link
Member Author

Hywan commented May 18, 2015

Related to #173.

@evert evert modified the milestones: 0.4.0, 0.5.0 Oct 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants