playing with endpoint publish api