We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Retrieve a list of blogs for an user.
GET https://your-host/your-mt-api.cgi/v1/users/:user_id/sites Detail
XMLHttpRequest: A XMLHttpRequest object
api.listBlogsForUser(userId, function(response) { if (response.error) { // Handle error return; } // Do stuff });
Or
var params = { includeIds: "1,2,3,4", fields: "name,description,url,archiveUrl" }; api.listBlogsForUser(userId, params, function(response) { if (response.error) { // Handle error return; } // Do stuff });