Project

General

Profile

Actions

Task #7100

closed

Assistance in using HomeLibrary REST Interface

Added by Emmanuel Blondel over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Emmanuel Blondel
Category:
Application
Target version:
Start date:
Feb 17, 2017
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Infrastructure:
Production

Description

Hello, i'm currently testing the HL REST interface for CLS AAPS needs, following this page https://wiki.gcube-system.org/gcube/Home_Library_REST_API#Get_started

Before testing the target method we need (local file upload), i'm trying to familiarize with simple GET methods, i've tested the GetPublicLink method.

http://workspace-repository.d4science.org:8080/rest/GetPublicLink?absPath=/Home/emmanuel.blondel/Workspace/mpa-web.zip

with GET operation, adding one of my VRE token as header "gcube-token (the one of VRE 'AquacultureAtlasGeneration'). I always get a response '0' after 40s.

Questions:

  • Is it something wrong with the above URL? any missing header?
  • which token can we use? (i suppose that we can use whatever VRE token to access workspace, with the condition that the VRE scope is registered for this REST web-service)
  • by chance, would have set-up a standard documentation/testing swagger UI for such web-services?

Thanks in advance


Files

test.zip (1.89 MB) test.zip Emmanuel Blondel, Feb 15, 2017 04:30 PM

Subtasks 1 (0 open1 closed)

Task #7150: Add cURL examples to HL Rest API wikiClosedValentina MarioliFeb 17, 2017

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)