You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe it ought to accept the tree and use the content type of the deepest known resource.
E.g.,
connection.delete({ path: '/bookmarks/a/b/c', tree: { bookmarks: { _type: 'application/vnd.oada.bookmarks.1_json' a: { _type: 'application/json', b: { } } } })
Here, the path does not exist, but it should be acceptable. A content type of application/json should be selected. Originally, the tree was supplied to recursively delete links and resources from the given path and further down following the tree. However, the tree is intended to automate content type selection (and make it "safer" for puts).
The text was updated successfully, but these errors were encountered:
I believe it ought to accept the tree and use the content type of the deepest known resource.
E.g.,
connection.delete({
path: '/bookmarks/a/b/c', tree: { bookmarks: { _type: 'application/vnd.oada.bookmarks.1_json' a: { _type: 'application/json', b: { } } } })
Here, the path does not exist, but it should be acceptable. A content type of
application/json
should be selected. Originally, the tree was supplied to recursively delete links and resources from the given path and further down following the tree. However, the tree is intended to automate content type selection (and make it "safer" for puts).The text was updated successfully, but these errors were encountered: