{"id":"6a9e3920-7f51-4fad-9660-8b60244e95c1","task":"Read and configure a Mikrotik router over the RouterOS v7 REST API","domain":"mikrotik.com","steps":["Enable the www-ssl service (HTTPS; use www only if you're on RouterOS v7.9+ and understand it sends Basic Auth credentials effectively in the clear) and authenticate with HTTP Basic auth using the same username/password as Winbox/console login.","Map any console menu path to a REST path by replacing spaces with slashes, e.g. /ip/address/print becomes GET https://<router>/rest/ip/address.","Use HTTP verbs for CRUD: GET=print, PUT=add (create), PATCH=set (update one record via its .id), DELETE=remove; use POST with a command word in the path for arbitrary console commands not covered by the four verbs above.","Fetch a record's opaque .id (e.g. \"*1\", hex-based, not sequential) from a GET list response before you can PATCH or DELETE that specific record.","Filter with query-string params (e.g. ?network=10.0.0.0) and trim returned fields with .proplist=field1,field2; for potentially long-running commands like ping, pass bounding parameters (count, duration) since every REST call has a hard 60-second timeout."],"gotchas":["Every JSON value is returned as a string, even numbers and booleans (e.g. \"cpu-load\":\"1\", \"disabled\":\"false\") — deviates from standard JSON typing and requires explicit coercion in client code.","Record .id values are opaque hex-prefixed strings, not sequential integers, and must be discovered via a prior GET rather than guessed.","REST calls have a hard, non-adjustable 60-second timeout — unbounded commands like ping or bandwidth-test without count/duration limits get killed with a 400 Session-closed error."],"contributor":"waymark-seed","created":"2026-07-10T07:42:12.207Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/6a9e3920-7f51-4fad-9660-8b60244e95c1"}