# GeoDataExchangeServer **Repository Path**: geomodeling/GeoDataExchangeServer ## Basic Information - **Project Name**: GeoDataExchangeServer - **Description**: A data server which is used to data exchanging in public network - **Primary Language**: NodeJS - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-12-28 - **Last Updated**: 2021-11-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GeoDataExchangeServer ## Introdution A data server which is used to data exchanging in public network ## Framework Under construction... ## API ### _Upload Data_ * URL : _/data_ * Method : POST * Form : ```json { "datatag" : "[datatag]", // tag of uploading data "pwd" : "[pwd]" // [pwd] is Boolean, if 'true', means it is private data and need password to download } ``` * File : ```json { "datafile" : "[datafile]" // uploading file } ``` * Response : ```json { "result" : "[result]", // [result] can be 'suc', 'err' "code" : [code], // [code] shows 1 which means successful request, -1 means err "data" : { "id" : "[dataid]", // [dataid] is the id that indating data storage in the server "d_pwd" : "[pwd]" // [pwd] is the password for downloading }, // model service information items "message" : "[msg]" // message for error or other notice in request } ``` #### _Download Data_ * URL : _/data/[id]?pwd=[pwd]_ // _[pwd]_ is optional. If data is private, users should set data password for data downloading. * Method : GET * Response : File ## Install Under construction... ## Usage Under construction... ## Contributors ### Founder Min Chen () Yongning Wen () Songshan Yue () Fengyuan Zhang () ### Coder Fengyuan Zhang () All codes are used in [OpenGMS](http://geomodeling.njnu.edu.cn/) platform