Open kwatsen opened 4 years ago
Check to see if list pagination draft addresses it. Per Andy, RFC 8040 requires that a key be specified, and thus requires a new RFC.
This is addressed in I-D.draft-ietf-netconf-list-pagination-rc Section 2..1. Resource Targets:
This document extends Section 3.5 of [RFC8040] to add "list" and "leaf-list" nodes (not just their entries) as valid data resources for the "GET" and "DELETE" operations.
@avtobiff Not entirely. The list-pagination-rc
draft used to define a DELETE
operator, but the WG felt like it was not on topic, so it was removed. Most of what's needed is in list-pagination-rc
, but a DELETE
is still missing.
It seems that
list
andleaf-list
should be "data resources", as defined in Section 3.5 of RFC 8040.1) Eliminate "need" to wrap lists in containers
2) Provide a target for "collection" operations (e.g., draft-ietf-netconf-restconf-collection)
From a resource-target perspective, it just means that the URL addresses the
list
/leaf-list
node without specifying a key. For instance, whereas the following URI addresses a list-item:This URI could address the list itself: