Movatterモバイル変換


[0]ホーム

URL:


W3CW3C Member Submission

Volkswagen Infotainment Web Interface service definition: viwi.service.medialibrary

W3C Member Submission

This version:
https://www.w3.org/submissions/2016/SUBM-viwi-service-medialibrary-20161213/
Latest published version:
https://www.w3.org/submissions/viwi-service-medialibrary/
Editor:
Dr. Patrick Bartsch,Volkswagen AG

Copyright © 2016. This document is available under theW3C Document License. See theW3C Intellectual Rights Notice and Legal Disclaimers for additional information.


Status of This Document

This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of currentW3C publications can be found in theW3C technical reports index at https://www.w3.org/TR/.

This is required.

By publishing this document,W3C acknowledges that theSubmitting Members have made a formal Submission request toW3C for discussion. Publication of this document byW3C indicates no endorsement of its content byW3C, nor thatW3C has, is, or will be allocating any resources to the issues addressed by it. This document is not the product of a charteredW3C group, but is published as potential input to theW3C Process. AW3C Team Comment has been published in conjunction with this Member Submission. Publication of acknowledged Member Submissions at theW3C site is one of the benefits ofW3C Membership. Please consult the requirements associated with Member Submissions ofsection 3.3 of theW3C Patent Policy. Please consult the completelist of acknowledgedW3C Member Submissions.

Volkswagen Infotainment Web Interface

service definition:viwi.service.medialibrary

 

viwi

by Dr. Patrick Bartsch 2013-2016

 

version: v1.6.1-W3C

 

This repo holds all media library (tracks, albums, etc.) related resources

Table of contents

General information

version: 1.6.1-W3C

Repository:

Author

Dr. Patrick Bartsch <patrick.bartsch@volkswagen.de>

Resources

/medialibrary/sources/

This endpoint provides access to the media sources available in the media library.

mediaLibrarySourceObject

Properties
namedescriptiontypeformatunit(s)value(s)
ididentifierstringuuid-
namesource namestring-
uriobject uristringuri-
rootfolderthe sources root folder, only set if medium is plugged in, undefined otherwiseobject/medialibrary/folders/folderObject

Resource level access (/medialibrary/sources/)

GET

Note: Use a http GET request on /medialibrary/sources/ to retrieve a list of available elements of typemediaLibrarySourceObject

Subscribe to /medialibrary/sources/ to receive updates for element creations or removals from the collection.

Request/response example
GET/medialibrary/sources/ HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6

=>

HTTP/1.1200 OKVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok",  "data":[    {      "id":"3901a278-ba17-44d6-9aef-f7ca67c04840",      "name":"lorem ipsum",      "uri":"/medialibrary/sources/3901a278-ba17-44d6-9aef-f7ca67c04840"},    {      "id":"8901870-b526-11e3-a5e2-0800200c9a66",      "name":"dolor sit",      "uri":"/medialibrary/sources/8901870-b526-11e3-a5e2-0800200c9a66"}  ]}

Element level access (/medialibrary/sources/:uuid)

GET

Note:

Use a http GET request on /medialibrary/sources/:uuid to retrieve a particularmediaLibrarySourceObject

Subscribe to /medialibrary/sources/:uuid to receive updates on element level changes.

Request/response example
GET/medialibrary/sources/3901a278-ba17-44d6-9aef-f7ca67c04840 HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6
HTTP/1.1200 OKVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok",  "data":[    {      "id":"3901a278-ba17-44d6-9aef-f7ca67c04840",      "name":"lorem ipsum",      "uri":"/medialibrary/sources/3901a278-ba17-44d6-9aef-f7ca67c04840"}  ]}

Events

The following events may be fired by client interaction or system side:

/medialibrary/tracks/

Provides a list of all tracks available in the system, might contain connected devices content as well.

trackObject

Properties

namedescriptiontypeformatunit(s)value(s)
ididentifierstringuuid-
nameTrack titlestring-
uriobject uristringuri-
imagecover artstringuri-
genrestrack genrearray/medialibrary/genres/genreObject
foldersactual folder the item resides inarray/medialibrary/folders/folderObject
ratingowner ratinginteger[-inf..inf]
albumsalbums containing this trackarray/medialibrary/albums/albumObject
artiststrack artistsarray/medialibrary/artists/artistObject
daterelease datestringdate-time-
discdisc of albuminteger[-inf..inf]
durationtrack durationintegers[-inf..inf]
sourceSource of the fileobject/medialibrary/sources/mediaLibrarySourceObject

Resource level access (/medialibrary/tracks/)

GET

Note: Use a http GET request on /medialibrary/tracks/ to retrieve a list of available elements of typetrackObject

Subscribe to /medialibrary/tracks/ to receive updates for element creations or removals from the collection.

Request/response example
GET/medialibrary/tracks/ HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6

=>

HTTP/1.1200 OKVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok",  "data":[    {      "id":"3901a278-ba17-44d6-9aef-f7ca67c04840",      "name":"lorem ipsum",      "uri":"/medialibrary/tracks/3901a278-ba17-44d6-9aef-f7ca67c04840"},    {      "id":"8901870-b526-11e3-a5e2-0800200c9a66",      "name":"dolor sit",      "uri":"/medialibrary/tracks/8901870-b526-11e3-a5e2-0800200c9a66"}  ]}

Element level access (/medialibrary/tracks/:uuid)

GET

Note:

Use a http GET request on /medialibrary/tracks/:uuid to retrieve a particulartrackObject

Subscribe to /medialibrary/tracks/:uuid to receive updates on element level changes.

Request/response example
GET/medialibrary/tracks/3901a278-ba17-44d6-9aef-f7ca67c04840 HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6
HTTP/1.1200 OKVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok",  "data":[    {      "id":"3901a278-ba17-44d6-9aef-f7ca67c04840",      "name":"lorem ipsum",      "uri":"/medialibrary/tracks/3901a278-ba17-44d6-9aef-f7ca67c04840"}  ]}

Events

The following events may be fired by client interaction or system side:

/medialibrary/albums/

Provides a list of all albums available in the system, might contain connected devices content as well.

albumObject

Properties

namedescriptiontypeformatunit(s)value(s)
idIdentifierstringuuid-
namealbum titlestring-
uriobject uristringuri-
genresalbum genrearray/medialibrary/genres/genreObject
imagealbum artstringuri-
ratingalbum ratinginteger[-inf..5]
artistsalbum artistarray/medialibrary/artists/artistObject
daterelease datestringdate-time-
durationtotal album durationintegersec[-inf..inf]
tracksalbum tracksarray/medialibrary/tracks/trackObject

Resource level access (/medialibrary/albums/)

GET

Note: Use a http GET request on /medialibrary/albums/ to retrieve a list of available elements of typealbumObject

Subscribe to /medialibrary/albums/ to receive updates for element creations or removals from the collection.

Request/response example
GET/medialibrary/albums/ HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6

=>

HTTP/1.1200 OKVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok",  "data":[    {      "id":"3901a278-ba17-44d6-9aef-f7ca67c04840",      "name":"lorem ipsum",      "uri":"/medialibrary/albums/3901a278-ba17-44d6-9aef-f7ca67c04840"},    {      "id":"8901870-b526-11e3-a5e2-0800200c9a66",      "name":"dolor sit",      "uri":"/medialibrary/albums/8901870-b526-11e3-a5e2-0800200c9a66"}  ]}

Element level access (/medialibrary/albums/:uuid)

GET

Note:

Use a http GET request on /medialibrary/albums/:uuid to retrieve a particularalbumObject

Subscribe to /medialibrary/albums/:uuid to receive updates on element level changes.

Request/response example
GET/medialibrary/albums/3901a278-ba17-44d6-9aef-f7ca67c04840 HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6
HTTP/1.1200 OKVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok",  "data":[    {      "id":"3901a278-ba17-44d6-9aef-f7ca67c04840",      "name":"lorem ipsum",      "uri":"/medialibrary/albums/3901a278-ba17-44d6-9aef-f7ca67c04840"}  ]}

Events

The following events may be fired by client interaction or system side:

/medialibrary/artists/

Provides a list of all known artists, might contain connected devices content as well.

artistObject

Properties

namedescriptiontypeformatunit(s)value(s)
ididentifierstringuuid-
nameartist namestring-
uriobject uristringuri-
genresartist genrearray/medialibrary/genres/genreObject
imageartist artstringuri-
ratingowner ratinginteger[-inf..inf]
albumsartist albumsarray/medialibrary/albums/albumObject
tracksartists tracksarray/medialibrary/tracks/trackObject

Resource level access (/medialibrary/artists/)

GET

Note: Use a http GET request on /medialibrary/artists/ to retrieve a list of available elements of typeartistObject

Subscribe to /medialibrary/artists/ to receive updates for element creations or removals from the collection.

Request/response example
GET/medialibrary/artists/ HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6

=>

HTTP/1.1200 OKVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok",  "data":[    {      "id":"3901a278-ba17-44d6-9aef-f7ca67c04840",      "name":"lorem ipsum",      "uri":"/medialibrary/artists/3901a278-ba17-44d6-9aef-f7ca67c04840"},    {      "id":"8901870-b526-11e3-a5e2-0800200c9a66",      "name":"dolor sit",      "uri":"/medialibrary/artists/8901870-b526-11e3-a5e2-0800200c9a66"}  ]}

Element level access (/medialibrary/artists/:uuid)

GET

Note:

Use a http GET request on /medialibrary/artists/:uuid to retrieve a particularartistObject

Subscribe to /medialibrary/artists/:uuid to receive updates on element level changes.

Request/response example
GET/medialibrary/artists/3901a278-ba17-44d6-9aef-f7ca67c04840 HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6
HTTP/1.1200 OKVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok",  "data":[    {      "id":"3901a278-ba17-44d6-9aef-f7ca67c04840",      "name":"lorem ipsum",      "uri":"/medialibrary/artists/3901a278-ba17-44d6-9aef-f7ca67c04840"}  ]}

Events

The following events may be fired by client interaction or system side:

/medialibrary/genres/

Provides an aggregated view over all known genres an the media related to it.

genreObject

Properties

namedescriptiontypeformatunit(s)value(s)
ididentifierstringuuid-
namegenre namestring-
uriobject uristringuri-
ratingowner ratinginteger[-inf..inf]
tracksartists tracksarray/medialibrary/tracks/trackObject

Resource level access (/medialibrary/genres/)

GET

Note: Use a http GET request on /medialibrary/genres/ to retrieve a list of available elements of typegenreObject

Subscribe to /medialibrary/genres/ to receive updates for element creations or removals from the collection.

Request/response example
GET/medialibrary/genres/ HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6

=>

HTTP/1.1200 OKVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok",  "data":[    {      "id":"3901a278-ba17-44d6-9aef-f7ca67c04840",      "name":"lorem ipsum",      "uri":"/medialibrary/genres/3901a278-ba17-44d6-9aef-f7ca67c04840"},    {      "id":"8901870-b526-11e3-a5e2-0800200c9a66",      "name":"dolor sit",      "uri":"/medialibrary/genres/8901870-b526-11e3-a5e2-0800200c9a66"}  ]}

Element level access (/medialibrary/genres/:uuid)

GET

Note:

Use a http GET request on /medialibrary/genres/:uuid to retrieve a particulargenreObject

Subscribe to /medialibrary/genres/:uuid to receive updates on element level changes.

Request/response example
GET/medialibrary/genres/3901a278-ba17-44d6-9aef-f7ca67c04840 HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6
HTTP/1.1200 OKVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok",  "data":[    {      "id":"3901a278-ba17-44d6-9aef-f7ca67c04840",      "name":"lorem ipsum",      "uri":"/medialibrary/genres/3901a278-ba17-44d6-9aef-f7ca67c04840"}  ]}

Events

This endpoint will not send any events. Therefor you can not register for them.

/medialibrary/playlists/

Provides a list of all playlists available in the system, might contain connected devices content as well.

playlistObject

Properties

namedescriptiontypeformatunit(s)value(s)
ididentifierstringuuid-
nameplaylist namestring-
uriobject uristringuri-
genresplaylist genrearray/medialibrary/genres/genreObject
foldersactual folder the item resides inobject/medialibrary/folders/folderObject
imageplaylist artstringuri-
ratingowner ratinginteger[-inf..inf]
artistsplaylist artistsarray/medialibrary/artists/artistObject
datelast modificationstringdate-time-
durationtotal durationintegers[-inf..inf]
tracksplaylist tracksarray/medialibrary/tracks/trackObject

Resource level access (/medialibrary/playlists/)

POST

Note: Use a http POST request on /medialibrary/playlists/ to create a new element of typeplaylistObject

Subscribe to /medialibrary/playlists/ to receive updates for element creations or removals from the collection.

Request parameters

The following parameters can be used with the request and subscriptions:

nametypeformatmandatory
namestringyes
Request/response example
POST/medialibrary/playlists/ HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6{  "viwi":"rockz.."}

=>

HTTP/1.1201 CreatedVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunkedLocation:/medialibrary/playlists/3901a278-ba17-44d6-9aef-f7ca67c04840{  "status":"ok"}

GET

Note: Use a http GET request on /medialibrary/playlists/ to retrieve a list of available elements of typeplaylistObject

Subscribe to /medialibrary/playlists/ to receive updates for element creations or removals from the collection.

Request/response example
GET/medialibrary/playlists/ HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6

=>

HTTP/1.1200 OKVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok",  "data":[    {      "id":"3901a278-ba17-44d6-9aef-f7ca67c04840",      "name":"lorem ipsum",      "uri":"/medialibrary/playlists/3901a278-ba17-44d6-9aef-f7ca67c04840"},    {      "id":"8901870-b526-11e3-a5e2-0800200c9a66",      "name":"dolor sit",      "uri":"/medialibrary/playlists/8901870-b526-11e3-a5e2-0800200c9a66"}  ]}

Element level access (/medialibrary/playlists/:uuid)

POST

Note:

Use a http POST request on /medialibrary/playlists/:uuid to update a particularplaylistObject

Subscribe to /medialibrary/playlists/:uuid to receive updates on element level changes.

Request parameters

The following parameters can be used with the request and subscriptions:

nametypemandatory
tracksarrayno
ratingintegerno
imagestringno
Request/response example
POST/medialibrary/playlists/3901a278-ba17-44d6-9aef-f7ca67c04840 HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6{  "viwi":"rockz.."}
HTTP/1.1201 CreatedVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok"}

GET

Note:

Use a http GET request on /medialibrary/playlists/:uuid to retrieve a particularplaylistObject

Subscribe to /medialibrary/playlists/:uuid to receive updates on element level changes.

Request/response example
GET/medialibrary/playlists/3901a278-ba17-44d6-9aef-f7ca67c04840 HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6
HTTP/1.1200 OKVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok",  "data":[    {      "id":"3901a278-ba17-44d6-9aef-f7ca67c04840",      "name":"lorem ipsum",      "uri":"/medialibrary/playlists/3901a278-ba17-44d6-9aef-f7ca67c04840"}  ]}

DELETE

Note:

Use a http DELETE request on /medialibrary/playlists/:uuid to update a particularplaylistObject

Subscribe to /medialibrary/playlists/:uuid to receive updates on element level changes.

Request/response example
DELETE/medialibrary/playlists/3901a278-ba17-44d6-9aef-f7ca67c04840 HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6
HTTP/1.1201 CreatedVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok"}

Events

This endpoint will not send any events. Therefor you can not register for them.

/medialibrary/folders/

Provides access to the media in folder layout, might contain contet of connected devices as well.

folderObject

Properties

namedescriptiontypeformatunit(s)value(s)
ididentifierstringuuid-
nameFolder namestring-
uriobject uristringuri-
trackstrack files in folderarray/medialibrary/tracks/trackObject
playlistsplaylist files in folderarray/medialibrary/playlists/playlistObject
videosvideo files in folderarray/medialibrary/videos/videoObject
picturespictures files in folderarray/medialibrary/pictures/pictureObject
foldersfolders in folderarray/medialibrary/folders/folderObject
abspathabsolute path to folderstring-
parentparent folderobject/medialibrary/folders/folderObject

Resource level access (/medialibrary/folders/)

GET

Note: Use a http GET request on /medialibrary/folders/ to retrieve a list of available elements of typefolderObject

Subscribe to /medialibrary/folders/ to receive updates for element creations or removals from the collection.

Request/response example
GET/medialibrary/folders/ HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6

=>

HTTP/1.1200 OKVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok",  "data":[    {      "id":"3901a278-ba17-44d6-9aef-f7ca67c04840",      "name":"lorem ipsum",      "uri":"/medialibrary/folders/3901a278-ba17-44d6-9aef-f7ca67c04840"},    {      "id":"8901870-b526-11e3-a5e2-0800200c9a66",      "name":"dolor sit",      "uri":"/medialibrary/folders/8901870-b526-11e3-a5e2-0800200c9a66"}  ]}

Element level access (/medialibrary/folders/:uuid)

GET

Note:

Use a http GET request on /medialibrary/folders/:uuid to retrieve a particularfolderObject

Subscribe to /medialibrary/folders/:uuid to receive updates on element level changes.

Request/response example
GET/medialibrary/folders/3901a278-ba17-44d6-9aef-f7ca67c04840 HTTP/1.1Host:127.0.0.1:9000Connection:keep-aliveAccept:application/jsonUser-Agent:Chrome/34.0.1847.137 Safari/537.36Accept-Encoding:gzip,deflateAccept-Language:en-US,en;q=0.8,de;q=0.6
HTTP/1.1200 OKVary:Accept-EncodingContent-Type:application/json; charset=utf-8ETag:"-32550834"Content-Encoding:gzipDate:Tue, 07 Apr 1980 00:00:00 GMTConnection:keep-aliveTransfer-Encoding:chunked{  "status":"ok",  "data":[    {      "id":"3901a278-ba17-44d6-9aef-f7ca67c04840",      "name":"lorem ipsum",      "uri":"/medialibrary/folders/3901a278-ba17-44d6-9aef-f7ca67c04840"}  ]}

Events

The following events may be fired by client interaction or system side:


[8]ページ先頭

©2009-2025 Movatter.jp