This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
ssh_authorized_keys: | |
- ssh-rsa <YOUR SSH KEY HERE> | |
write_files: | |
- path: /etc/systemd/system/fleet.socket.d/30-ListenStream.conf | |
owner: root:root | |
permissions: 0644 | |
content: | | |
[Socket] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -H "authToken: <authToken>" https://v1.api.algorithms.io/algorithms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -i | |
-d 'job_params={ | |
"job": { | |
"algorithm": { | |
"id": "14" | |
}, | |
"input_variables": { | |
"datasource_id_seq": "<ID Returned in Step #1>", | |
"type": "item", | |
"item": "Terminator The 1984" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -i | |
-d 'job_params={ | |
"job": { | |
"algorithm": { | |
"id": "13" | |
}, | |
"input_variables": { | |
"datasource_id_seq": "<ID Returned in Step #1>", | |
"field_user_id": "user", | |
"field_item_id": "item", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -i -H "authToken: <authToken>" | |
-H "type:rec" | |
-H "name:Movie_Lens_100k" | |
-H "description:100k rows of user prefs" | |
-H "version:1" | |
-F theFile=@Movie_Lens_100k_data.csv | |
https://v1.api.algorithms.io/dataset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X DELETE -H "authToken: <Authentication Token>" | |
http://v1.api.algorithms.io/dataset/id/<datasource_id_seq> -v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -i -H "authToken: <Authentication Token>" -H "type:<File Type>" -H "friendly_name:<Name of File>" -H "friendly_description:<Description>" -H "version:<Verion>" -F theFile=@<File on local system> http://v1.api.algorithms.io/dataset -v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -i -H "authToken: <Authentication Token>" http://v1.api.algorithms.io/dataset -v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -H "authToken: <Authentication Token>" http://v1.api.algorithms.io/credits -v |
NewerOlder