This function will assume a full refresh is desired, and will refresh SolstoryAPI's internal cache of the metadata.k
This will default to only getting validated metadata, meaning metadata approved by the system. If you'd like to get even non-validated accounts, initiate the API with the "includeNonValidatedWriters" option set to true.
if this is true, we'll try to use the local cache instead of calling the blockhain. Setting this to true means getAllMetadata might return stale data.
This will retrieve all metadatas, then find all the ones that have a connection with the given NFT.
Just like the getAllMetadata this will default to only getting validated metadata. If you'd like to get even non-validated accounts, initiate the API with the "includeNonValidatedWriters" option set to true.
Stories can mark themselves as "invisible" when they are used for system things. For example, a serverless NFT game might store game data intended for use by the system, in which case it signal that this story wasn't for human consumption by marking "invisible" as true. Setting this flag will load the data anyway (useful for debugging or curiosity).
If a CDN is not used, getStory will require
Takes a SolstoryHead describing a particular story and returns the actual items in thats story.
A SolstoryStory with the up to the requested number of items loaded.
Performance characteristics:
If a CDN is not used, getStoryFromWriter will require
When verifying a story, we only verify that items that have been already loaded.
When loading via blockchain this process is performed automatically.
Generated using TypeDoc
This appends additional items to the story, and resolves the promise with the same story when the additions are done.