API to get group assets?

Does anyone know the api to get the group assets of a group?

Try this, not positive if it works correctly, send back if there is any errors or anything of the sort.

local GroupService = game:GetService("GroupService")
local DataStoreService = game:GetService("DataStoreService")

-- Replace 12345 with the ID of the group you want to get the assets of
local groupId = 12345

-- Get a list of the group's place IDs
local placeIds = GroupService:GetPlaceIdsForGroup(groupId)

-- Create a table to store the metadata for each place
local assets = {}

-- Iterate over the place IDs and retrieve the metadata for each place
for _, placeId in ipairs(placeIds) do
    local placeDataStore = DataStoreService:GetDataStore("place", placeId)
    local metadata = placeDataStore:GetAsync("metadata")
    table.insert(assets, metadata)
end

-- Print the metadata for each place
for _, asset in ipairs(assets) do
    print(asset.name)  -- Prints the name of the place
end

Not sure how this would work in the first place, But thanks anyways!

I have tried the following, but I am getting an error.
http://127.0.0.1:8080/alfresco/s/api/groups/<groupName>/assets

Thanks in advance.