ReneRanzinger / IFEDS-backend

Serverside backend for the Infrastructure For Experimental Data Sharing
GNU General Public License v3.0
1 stars 1 forks source link

Add dictionary entry #67

Closed ReneRanzinger closed 4 years ago

ReneRanzinger commented 4 years ago

Input

Function

Ouput Error json or success json.

akshaykokane commented 4 years ago

Funding Source:

localhost:8080/dictionary/funding_source

Sample Input JSON:

{
     "name": "funding_src_sample",
     "url": "test.com",
     "abbreviation":"FSS"

}

Keywords:

localhost:8080/dictionary/keywords

Sample Input JSON:

{
     "name": "keywords sample",
     "url": "test.com",
     "description":"hello world"

}

Sample Descriptors:

localhost:8080/dictionary/keywords

Sample Input JSON:

{
     "name": "keywords sample",
     "url": "test.com",
     "namespace":"hello",
     "link_pattern":"null",
     "description":"hello world"

}

Sample Output:

{
     message: success
}
akshaykokane commented 4 years ago

445adb324b0776b5436797e3e571059e77a3068d

akshaykokane commented 4 years ago

5bdb2234196248e420303fc7f32d5b2ae3c25f2d

added

Experiment Type

Sample Input:

{
     "name": "keywords sample",
     "url": "test.com",
     "description":"hello world"

}