red-brick: Change error code documentation to a more generic style

Also rename API_E_OK to API_E_SUCCESS