From e9c51da030ecea106ff85bd0029f536415e7415d Mon Sep 17 00:00:00 2001 From: Alex Coseru Date: Thu, 10 Feb 2022 13:42:46 +0200 Subject: [PATCH] Update did-ddo.md --- content/concepts/did-ddo.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/concepts/did-ddo.md b/content/concepts/did-ddo.md index 4f96bbe5..c6444adf 100644 --- a/content/concepts/did-ddo.md +++ b/content/concepts/did-ddo.md @@ -372,11 +372,11 @@ Example: ] } ``` - [User Input](#userinput) + ### User Input Sometimes, you may need some input before consuming a dataset or running an algorithm. Examples: -- You want to know the desired sampling interval of data in your dataset, before the user is going to download it. So you will define a field called "sampling", ask the user to enter a value and then this parameter is going to be added to the URL of your dataset +- You want to know the desired sampling interval of data in your dataset, before the user is going to download it. Your dataset URL is 'www.example.com/mydata'. So you will define a field called "sampling", ask the user to enter a value and then this parameter is going to be added to the URL of your dataset (so the actual url will become 'www.example.com/mydata?sampling=10' - Before running an algorithm, you need to know how many iterations should the algo perform. You are going to define a field called 'iterations', ask the user to enter a value and this parameter is stored in a specific location in your C2D pod, so algo can read it and use that value. Object consists of an array , in which each element defines a user required field. @@ -445,6 +445,7 @@ Example: "description": "Do you like NodeJs or Python" }, ] +``` ### Credentials By default, a consumer can access a resource if they have 1 datatoken. _Credentials_ allow the publisher to optionally specify more fine-grained permissions.