Changes between Version 64 and Version 65 of DASISH/XSD and XML


Ignore:
Timestamp:
05/14/13 16:20:23 (11 years ago)
Author:
olhsha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DASISH/XSD and XML

    v64 v65  
    435435 ref="http://dasish.eu/users/UIde1fe1"/>
    436436}}}
     437
     438=== PUT api/annotations/AIDzyy/permissions===
     439
     440
     441Swapping rights of the users xyxy and xxzz: xyxy one becomes a reader, and xxzz becomes a writer. Updating w.r.t.
     442the output of "GET api/annotations/AIDzyy/permissions" above.
     443
     444Request body:
     445{{{#!xml
     446<?xml version="1.0" encoding="UTF-8"?>
     447<permissions xmlns="http://www.dasish.eu/ns/addit"
     448 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     449 xsi:schemaLocation="http://www.dasish.eu/ns/addit http://dasish.eu/DASISH-schema.xsd">
     450    <user ref="http://dasish.eu/users/UIde1fe1f" permission="owner"/>
     451    <user ref="http://dasish.eu/users/UIxyxy" permission="reader"/>
     452    <user ref="http://dasish.eu/users/UIxxzz" permission="writer"/>
     453    <user ref="http://dasish.eu/users/UIxaaa" permission="reader"/>
     454</permissions>
     455}}}
     456