Thank you very much for your prompt response. Yes, I have been trying that. The only thing I do different is having “id”: “lamp.survey” instead of {“name”:}. In the Body code, I can’t see {“name”:}. When I execute the cURL code, this the output:
{
"data": {}
}
And I checked the dashboard, nothing added.
Here is the code that I run:
curl -L ‘https://lamp.oac.pitt.edu/activity_spec’
-H ‘Content-Type: application/json’
-H ‘Accept: application/json’
-H ‘Authorization: Basic bWF5ZWxpYUB1cG1jLmVkdTpvYWMhMTIzNCQ=’
-d ‘{
“id”: “lamp.nback”,
“help_contents”: “string”,
“script_contents”: “string”,
“static_data_schema”: {
“$id”: “string”,
“$schema”: “string”,
“$ref”: “string”,
“$comment”: “string”,
“title”: “string”,
“description”: “string”,
“readOnly”: false,
“examples”: [
null
],
“multipleOf”: 0,
“maximum”: 0,
“exclusiveMaximum”: 0,
“minimum”: 0,
“exclusiveMinimum”: 0,
“maxLength”: 0,
“minLength”: 0,
“pattern”: “string”,
“maxItems”: 0,
“minItems”: 0,
“uniqueItems”: false,
“maxProperties”: 0,
“minProperties”: 0,
“required”: [
“string”
],
“definitions”: {},
“properties”: {},
“patternProperties”: {},
“dependencies”: {},
“enum”: [
null
],
“format”: “string”,
“contentMediaType”: “string”,
“contentEncoding”: “string”,
“allOf”: [
null
],
“anyOf”: [
null
],
“oneOf”: [
null
]
},
“temporal_event_schema”: {
“$id”: “string”,
“$schema”: “string”,
“$ref”: “string”,
“$comment”: “string”,
“title”: “string”,
“description”: “string”,
“readOnly”: false,
“examples”: [
null
],
“multipleOf”: 0,
“maximum”: 0,
“exclusiveMaximum”: 0,
“minimum”: 0,
“exclusiveMinimum”: 0,
“maxLength”: 0,
“minLength”: 0,
“pattern”: “string”,
“maxItems”: 0,
“minItems”: 0,
“uniqueItems”: false,
“maxProperties”: 0,
“minProperties”: 0,
“required”: [
“string”
],
“definitions”: {},
“properties”: {},
“patternProperties”: {},
“dependencies”: {},
“enum”: [
null
],
“format”: “string”,
“contentMediaType”: “string”,
“contentEncoding”: “string”,
“allOf”: [
null
],
“anyOf”: [
null
],
“oneOf”: [
null
]
},
“settings_schema”: {
“$id”: “string”,
“$schema”: “string”,
“$ref”: “string”,
“$comment”: “string”,
“title”: “string”,
“description”: “string”,
“readOnly”: false,
“examples”: [
null
],
“multipleOf”: 0,
“maximum”: 0,
“exclusiveMaximum”: 0,
“minimum”: 0,
“exclusiveMinimum”: 0,
“maxLength”: 0,
“minLength”: 0,
“pattern”: “string”,
“maxItems”: 0,
“minItems”: 0,
“uniqueItems”: false,
“maxProperties”: 0,
“minProperties”: 0,
“required”: [
“string”
],
“definitions”: {},
“properties”: {},
“patternProperties”: {},
“dependencies”: {},
“enum”: [
null
],
“format”: “string”,
“contentMediaType”: “string”,
“contentEncoding”: “string”,
“allOf”: [
null
],
“anyOf”: [
null
],
“oneOf”: [
null
]
}
}’