reword upsert parameter explanation

What does the upsert parameter specify?  It doesn't specify "the
document".  The URL specifies "the document".  It instead specifies
"that the document should be created" (or drop the conjunction "that"
between the two clauses as allowed in technical writing).