Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.
"body": {
    "description": "body of this post",
    "values": "string",
    "optional": true
},

Post body is optional field in questions method? Shouldn't all the posts have body field?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

If you set body to false in the request, body on all the responses (two different fields of two different types in two different contexts with the same name... makes it hard to discuss...) is not set.

Basically, body is an optionally returned field.

share|improve this answer
    
Ah, you're right, forgot about the parameter :D –  YOU May 30 '10 at 9:24
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .