add slug and archived fields to project api

[#73458302]