Project

General

Profile

Task #4030

Story #3755: Structural changes to D1 APIs for 2.0 release

Add method getNodeCapabilities to the CN API

Added by Robert Waltz about 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ben Leinfelder
Category:
-
Target version:
Start date:
2013-10-02
Due date:
% Done:

100%

Estimated time:
0.00 h
Milestone:
CCI-2.0
Product Version:
2.0.0
Story Points:
Sprint:

Description

getNode called from cn.dataone.org/cn/v2/node/{nodeId} should return the nodeCapabilities of the NodeId provided as understood by the CN.

(this has already been implemented, just need an api method call to access it from client.

History

#1 Updated by Robert Waltz about 11 years ago

  • Subject changed from Create on the CN a getNode to Add method getNode on the CN

#2 Updated by Robert Waltz about 11 years ago

  • Subject changed from Add method getNode on the CN to Add method getNode to the CN API

#3 Updated by Matthew Jones about 11 years ago

Why is this v2? It's already implemented in v1 with a REST endpoint. This should work:

https://cn.dataone.org/cn/v1/node/urn:node:KNB

I'm unclear on what is going to be new in this v2 implementation. Please elaborate.

#4 Updated by Ben Leinfelder over 10 years ago

Matt, it is not documented nor defined in the API. Just happens that the rest endpoint returns what we want.

#5 Updated by Ben Leinfelder over 10 years ago

  • Subject changed from Add method getNode to the CN API to Add method getCapabilities to the CN API

#6 Updated by Ben Leinfelder over 10 years ago

  • translation missing: en.field_remaining_hours set to 0.0
  • Status changed from New to Closed

Added to documentation and the API spec in d1_common_java

#7 Updated by Ben Leinfelder over 10 years ago

  • Subject changed from Add method getCapabilities to the CN API to Add method getNodeCapabilities to the CN API
  • Estimated time set to 0.00

#8 Updated by Robert Waltz over 10 years ago

  • Assignee changed from Robert Waltz to Ben Leinfelder

#9 Updated by Robert Waltz about 10 years ago

  • Target version set to CCI-2.0.0

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)