@must_be_valid_project
@must_be_contributor_or_public
def node_identifiers_get(node, **kwargs):
 if (not node.is_public):
  raise HTTPError(http.BAD_REQUEST)
 return {'doi': node.get_identifier_value('doi'), 'ark': node.get_identifier_value('ark')}

@ must_be_valid_project @ must_be_contributor_or_public def node_identifiers_get ( node , ** kwargs ) : if ( not node . is_public ) : raise HTTPError ( http . BAD_REQUEST ) return { 'doi' : node . get_identifier_value ( 'doi' ) , 'ark' : node . get_identifier_value ( 'ark' ) }
retrieve identifiers for a node .