Skip to content

Commit 367a6e8

Browse files
authored
Merge pull request #2 from fhasanaj/RCB-416_unify_entities
Unified entities and entities/linked
2 parents 1dc239c + 08b8ee3 commit 367a6e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/entities.curl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
curl -X POST -H "X-RosetteAPI-Key: your_api_key" -H "Content-Type: application/json" -H "Accept: application/json" -H "Cache-Control: no-cache" -d '{"content": "Bill Murray will appear in new Ghostbusters film: Dr. Peter Venkman was spotted filming a cameo in Boston this… http://dlvr.it/BnsFfS" }' "https://api.rosette.com/rest/v1/entities"
1+
# to improve performance, and if you don't need the QID, set this option inside json in -d flag
2+
# "options": {"linkEntities": false }}
3+
curl -X POST -H "X-RosetteAPI-Key: your_api_key" -H "Content-Type: application/json" -H "Accept: application/json" -H "Cache-Control: no-cache" -d '{"content": "Bill Murray will appear in new Ghostbusters film: Dr. Peter Venkman was spotted filming a cameo in Boston this… http://dlvr.it/BnsFfS", "genre": "social-media" }' "https://api.rosette.com/rest/v1/entities"

0 commit comments

Comments
 (0)