ArchiveAPI

APIs. Namespace

ArchiveAPI

Description:
  • ArchiveAPI namespace

See:

Methods

(static) *common(req, res)

Parameters:
Name Type Description
req Object
res Object
Throws:
status message description
404 ARCHIVE_NOT_FOUND if archive is not found

(static) RArchiveByRegistration API(req, res)

Description:
  • 기록 조회 API

Version:
  • 2.0.0
Parameters:
Name Type Description
req Object
Properties
Name Type Description
method "GET"
url "/archives"
query Object
Properties
Name Type Attributes Description
registration string

ObjectId of registration

label string <nullable>

archive label

user Object
res Object
Properties
Name Type Description
archive Object
Properties
Name Type Description
_id string
user string

ObjectId of user

data Object

(static) UArchiveByRegistration API(req, res)

Description:
  • 기록 수정 API

Version:
  • 2.0.0
Parameters:
Name Type Description
req Object
Properties
Name Type Description
method "PUT"
url "/archives/:_id"
body Object
Properties
Name Type Description
registration string

ObjectId of registration

label string
data Array.<Object>
user Object
res Object
Properties
Name Type Description
archive Object
Properties
Name Type Description
_id string
user string

ObjectId of user

data Object