ARRAY should be an array of arrays with PHP notation, as such: posts
=... where "post1" is the index of the post in the array.
The array accepted can only contain a maximum of 100 arrays (posts) for each request. If you have 1000 posts to insert, you need to run this function 10 times. The API will return how many posts that validated and was thus entered to the database.
Using "post###" (no spaces!) as the key for each array (post) in the request helps you understand possible error messages easier, if you have an internal ID for the data, it might be wise to use that (i.e. posts
Each post is then handled the same way as via the insert_post() method, see further information in that method