add new ptype: api page