Hi,
I am using the /search
endpoint (Search Everything
, scopes=sheetNames) to search for new sheets that have been created by Smartsheet Control Center. I have read the post regarding /search/sheets/{sheetId}
endpoint, Search API Request Returning Old Data for A Period of Time and the answer by @Genevieve P. that "Search function can require up to ten minutes before being able to identify newly added and updated data".
I have a few questions (looking for answers
) and observations (awaiting comments / confirmation of behavior
):
1) [Observation
] When I create a new sheet and follow it up immediately by an API call to /search endpoint with scopes=sheetNames, the endpoint does not return the name of the newly created sheet. I keep on repeating the API call and finally I get returned the sheet after some undefined time. Reading the documentation for Search Everything endpoint, it merely says, "If you have not used the public API in a while, we will need to provision your data. This could take up to 24 hours so please check back later!". It does not mention that if the public API is being exercised constantly, the results could still be delayed. Can the people with product knowledge shed some light on this please?
2) [Observation
] When I modify a sheet and follow it up immediately by an API call to List Sheets endpoint, the modifiedAt
property of the sheet does not get updated immediately either. Again, the endpoint documentation does not mention anything of this sort. Is this an undocumented / expected behavior ?
3) [Question
] If I create a sheet and immediately follow it up with an API call to List Sheets endpoint, will I definitely get the new sheet in the result?
Regards,
AK