Report and Activity
POST /filedrop/udl-sigact
Changed onService operation to take a list of SigAct as a POST body and ingest into the database. A SigAct provides data for Report and Activity information. Requires a specific role, please contact the UDL team to gain access. This operation is intended to be used for automated feeds into UDL.
Request
- Base URLhttps://unifieddatalibrary.com
- URLhttps://unifieddatalibrary.com/filedrop/udl-sigact
- Authnone declared
Request body
Example request
[
{
"id": "SIGACT-ID",
"classificationMarking": "U",
"sourceLanguage": "eng",
"countryCode": "US",
"city": "Austin",
"district": "district 12",
"province": "Province_Example",
"lat": 45.31,
"lon": 90.23,
"milgrid": "4QFJ12345678",
"theater": "Kabul",
"area": "POLYGON((67.3291113966927 26.156175339112,67.2580009640721 26.091022064271,67.1795862381682 26.6637992964562,67.2501237475598 26.730115808233,67.3291113966927 26.156175339112))",
"atext": "POLYGON((67.3291113966927 26.156175339112,67.2580009640721 26.091022064271,67.1795862381682 26.6637992964562,67.2501237475598 26.730115808233,67.3291113966927 26.156175339112))",
"agjson": "{\"type\":\"Polygon\",\"coordinates\":[ [ [ 67.3291113966927, 26.156175339112 ], [ 67.2580009640721, 26.091022064271 ], [ 67.1795862381682, 26.6637992964562 ], [ 67.2501237475598, 26.730115808233 ], [ 67.3291113966927, 26.156175339112 ] ] ] }",
"atype": "Type1",
"andims": 3,
"asrid": 3,
"eventStart": "2021-01-01T01:02:03.123Z",
"eventEnd": "2021-01-01T01:02:03.123Z",
"reportDate": "2018-01-01T16:00:00.123Z",
"actors": [
"US",
"CAN"
],
"civAbd": 423,
"civDet": 234,
"civKIA": 2,
"civWound": 123,
"coalAbd": 123,
"coalDet": 123,
"coalKIA": 123,
"coalWound": 123,
"enemyAbd": 123,
"enemyDet": 123,
"enemyKIA": 123,
"friendlyAbd": 123,
"friendlyDet": 123,
"friendlyKIA": 123,
"friendlyWound": 123,
"hostNatAbd": 123,
"hostNatDet": 123,
"hostNatKIA": 123,
"hostNatWound": 123,
"sideAAbd": 123,
"sideADet": 123,
"sideAKIA": 123,
"sideAWound": 123,
"sideBAbd": 123,
"sideBDet": 123,
"sideBKIA": 123,
"sideBWound": 123,
"target": "US",
"eventDescription": "Example_Description",
"eventType": "Military",
"typeOfAttack": "IED Explosion",
"idNumber": "NUMBER-ID",
"confidence": 13,
"accuracy": 13,
"clarity": 1,
"cameoCode": "CAMEO_CODE",
"cameoBaseCode": "Example_cameoBaseCode",
"cameoRootCode": "Example_cameoRootCode",
"goldstein": 9.32,
"documentSource": "Example_documentSource",
"documentFilename": "Example_documentFilename",
"hasAttachment": true,
"checksumValue": "120EA8A25E5D487BF68B5F7096440019",
"repUnit": "Unit_1",
"repUnitType": "Example_repUnitType",
"repUnitActivity": "Example_Activity",
"numMentions": 8,
"numSources": 8,
"numArticles": 8,
"avgTone": 8.23,
"sourceUrl": "Example_URL",
"summary": "Example_Summary",
"notes": "Example_Notes",
"createdAt": "2018-01-01T16:00:00.123Z",
"createdBy": "some.user",
"source": "Bluestaq",
"origin": "THIRD_PARTY_DATASOURCE",
"dataMode": "TEST",
"origNetwork": "OPS1"
}
]Response
Accepted
Changes
- info
added the non-success response with the status
- info
- breaking
the
/request property's minLength was increased from0to1 - info
the request optional property
/became write-only
- breaking
Some revisions have not been checked yet.